6 Replies Latest reply on Mar 24, 2008 12:31 PM by RickDavie

    Scanning of Files located in the Trash Can

    Apprentice

      I am doing some testing on this, but wanted to see if anyone already knew the answer:

       

      Does LANDesk scan for .app and scan extension files located in the Trash Can?

       

      If not could this be added as a default setting. If LANDesk does not scan the trash cans then users could "store" applications there and simply pull them out when they go to use them. This could prevent us from seeing those applications as installed since they wouldn't always show up in the scan.

        • 1. Re: Scanning of Files located in the Trash Can
          Expert

           

          By default the LDAPPL3.Template includes these entries

           

           

          ExcludeDir=\recycled\

          ExcludeDir=\recycler\

           

           

          This excludes the Recycle bin from scanning

           

           

          • 2. Re: Scanning of Files located in the Trash Can
            Apprentice

            Thats great for the windows machines, but what about the Macintosh where those files are referenced in the .Trash folders (possibly on a per-user basis)?

            • 3. Re: Scanning of Files located in the Trash Can
              Expert

               

              For extentions to be scanned it is this section of the LDAPPL3.template

               

               

               

              ; ScanExtensions lists the extensions that will be searched for.

              ; Regardless of what is entered in the Applications section, if the extension

              ; of the file is not listed here, the application will not be found.

              ; This list is currently limited to 40 extensions.  If there are more than 40

              ; extensions, only the first 40 will be used.

              ScanExtensions=.exe

              ;ScanExtensions=.exe .com .sys .nlm .lan .dll .hlp .lvl .crh .lib .run .jar .dat

               

               

              • 4. Re: Scanning of Files located in the Trash Can
                Expert

                 

                OOps your talking MAC Im thinking Windows... Sorry about that.  The APP extn is not set for the MACS by default but would be in done in the template file as well.

                 

                 

                 

                ;{Macintosh Scan Extensions]

                ;

                ; This section contains the Macintosh specific scanning options.

                ;

                ; MacScanExtensions is a list of extensions gathered by inventory.

                ; If the file extension is not in this list, the file is not found, no ; matter what is in the Applications section.

                ; Example: MacScanExtensions=.dmg .pkg .plist

                MacScanExtensions=.dmg .DMG .pkg .PKG

                 

                 

                ; MacMultimediaExtensions lists the extensions that will be scanned for inclusion

                ; in a macintosh computer software report. This differs from

                ; the previous section as this is specific for the Apple OS X platform.

                ; Note: Extensions are case-sensitve and will not be collected if the correct case is not used.

                MacMultimediaExtensions=.jpg .JPG .gif .GIF .aac .AAC .mp3 .MP3 .mov .MOV .aiff .AIFF .m4p .M4P

                 

                 

                ; Searching folders on the mac platform.

                ;

                ; The scanner searches the /Library /Applications /System /User folders by default.

                ; The scanner only searches folders listed in the MacSearchFolders section ; for files specified in MacScanExtensions section ; ; Note that this only affects the MacScanExtension section and will not affect the scanning ; of Applications.

                ;

                ; Example: MacSearchFolders=/johndoe

                 

                 

                As to the Trash Can, I have no idea how to exclude locations on the MAC.

                 

                 

                • 5. Re: Scanning of Files located in the Trash Can
                  Apprentice

                  The issue is that I don't want those locations excluded on the Mac and I don't know if it is excluded by default based on how the ldscan operation actually works on a Macintosh.

                  • 6. Re: Scanning of Files located in the Trash Can
                    Expert

                     

                    Based on this from the Template file I would say that they are excluded by default:

                     

                     

                    ;The scanner searches the /Library /Applications /System /User folders by default.

                    ;The scanner only searches folders listed in the MacSearchFolders section ;