Spotlight Treating Files as System Files

hi,
after ugrading to snowleopard i noticed that spotlight fails to show certain files when i type their names in the search field. i have already tried the obvious solutions such as rebuilding the index without any success.
few things i noticed:
- the files are on a volume mounted on /Volumes/Data
- the files are in a subdirectory "private"
- they are contained in the spotlight index
weird thing is that if i do an mdls on one of the files spotlight does not show i am getting this:
mdls /Volumes/Data/private/entertainment/music/nightwish/albums/Oceanborn/Sleeping\ Sun.mp3
kMDItemContentCreationDate = 2008-11-11 15:46:43 +0100
kMDItemContentModificationDate = 2009-09-14 14:26:42 +0200
kMDItemContentType = "public.mp3"
kMDItemContentTypeTree = (
"public.mp3",
"public.audio",
"public.audiovisual-content",
"public.data",
"public.item",
"public.content"
kMDItemDisplayName = "Sleeping Sun.mp3"
kMDItemFSContentChangeDate = 2009-09-14 14:26:42 +0200
kMDItemFSCreationDate = 2008-11-11 15:46:43 +0100
kMDItemFSCreatorCode = ""
kMDItemFSFinderFlags = 0
kMDItemFSHasCustomIcon = 0
kMDItemFSInvisible = 0
kMDItemFSIsExtensionHidden = 0
kMDItemFSIsStationery = 0
kMDItemFSLabel = 0
kMDItemFSName = "Sleeping Sun.mp3"
kMDItemFSNodeCount = 0
kMDItemFSOwnerGroupID = 0
kMDItemFSOwnerUserID = 502
kMDItemFSSize = 6023788
kMDItemFSTypeCode = ""
kMDItemKind = "MP3 Audio File"
*kMDItemSupportFileType = (*
MDSystemFile
why is it considered a system file in kMDItemSupportFileType? i also noticed when i do an mdls on the "private" directory it is also considered a system file/folder.
all other files that are shown by spotlight do not have the MDSystemFile type. is there any way i can get this fixed so that spotlight does not consider any of my files on /Volumes/Data system files anymore and shows them?
any help is appreciated...
cheers
--bruno

The problem is the name of the folder "private"--evidently Spotlight will only regard a folder of that name, no matter where it is, as the same class as the official /private folder, which is a container for system files. While Spotlight will index anything it considers a system file, it won't display search results containing such a file unless you explicitly tell it to.
I'm afraid you only have two choices:
1. Rename "private" to something else
2. Do your Spotlight searches by Command-F and put the option for System Files in your drop down list so you can access it reasonably quickly
I suspect the easiest is to just rename the folder, dropping the "e" will solve the problem. Indeed, "privat" is a perfectly good word in several languages. Pretend you speak Catalan, that's kind of classy.
Francine
Francine
Schwieder

Similar Messages

  • No spotlight pref file in any library/preferences folder

    I have been following these threads on and off for many weeks... trying t0 avoid a complete OS install. There is no "com.apple.spotlight.plist" file in either the root library/preferences or the user/library/preferences directory... I have trashed (and emptied) the com.apple.finder.plist files and restarted but there are no spotlight prefs being created.
    Help would be greatly appreciated.
    NewfieWood

    Move the file to the desktop first. While these files will be recreated as needed, they may contain important information for some programs.
    (59971)

  • Using Spotlight and file tags on older systems

    I use a Macbook Pro on a daily basis which runs Yosemite, and I also archive a lot of media files on a small Mac Mini server which runs Snow Leopard. Due to hardware limitations, I can not install any newer operating system on the server. On my laptop, I make heavy use of tagging which is tremendously helpful for keeping stuff organized. When I move files over to the server, I'm pleasantly surprised to see that the tags don't disappear from the file metadata. However, if I do a Spotlight search on the server and search by tag, the results come up empty. The most likely explanation for this is because Finder (on my laptop) is using the Mac Mini's Spotlight deamon to conduct a query and the Mac Mini has no idea what tags are. My question is this: Is there a way that I can get Spotlight on my laptop to index the drive on the Mac Mini server without depending on the server's Spotlight deamon?

    Doing a disk repair should be OK, but don't do a permissions repair with the 10.4 disk on a 10.3 system. It might be fine, but it's possible that it might mis-set some permissions.

  • Spotlight inconsistent -  files in Downloads folder and/or SeeAllResults

    Hi
    I'm currently assessing Punakea http://www.nudgenudge.eu/home, an app that allows one to tag files and stuff. It uses the comments field so in theory everything is still findable via Spotlight.
    When tagging a file with Punakea one to choose to leave the file where it is, or to move it to Punakea's folder.
    After much to-ing and fro-ing where I thought I was going mad, I have narrowed it to 6 test cases.
    3 files in Download folder
    - file A I manually added comment @AKK
    - file B I used Punakea to add tag AKK and left file in place
    - file C I used Punakea to add tag AKK and asked Punakea to move file
    3 files in Mail Download folder
    - file D I manually added comment @AKK
    - file E I used Punakea to add tag AKK and left file in place
    - file F I used Punakea to add tag AKK and asked Punakea to move file
    A Punakea tag looks like this:###begintags###@AKK;###endtags###
    (though there are some spaces up the front)
    Then I searched in Spotlight for @AKK and it only found files A, D, E, F. Clearly Spotlight was treating the Downloads folder differently. I used the Spotlight preferences to first exclude that folder -- and file A stopped appearing. Then I removed the exclusion and, after some audible disk whirring, file B appeared.
    So I thought I had fixed the problem, so tried another to match the file C case, and then noticed that file B had disappeared again.
    I realised that I was on OS 10.5.2 so I upgraded to 10.5.4 and repeated the Spotlight preference changes, but got the same results.
    For good measure, I removed Punakea's folder from Spotlight, and correclty file F dissappeared.
    I then reinstated it, and I finally saw all 6 of the files listed. I clicked on Show all results and saw all 6. Came back to this post to keep typing - and then went back to check again - and now there's only 4 again - B and C have gone.
    I must confess that throughout this whole test sometimes I have juts looked at the files in the Spotlight drop down, and other times I have used the 'See all results' - am now starting to consider that this is part of the issue, and so I need to repeat the whole exercise.
    Throughout all of this Punakea found its files, B, C, E and F.
    I suppose one workaround is to create a new Downloads folder for Firefox and use that instead.
    There was a post to the Punakea forum http://www.nudgenudge.eu/support/spotlight-indexing-behavior which makes me realise I'm not the first person to fall down this particular rabbit hole.
    Any comments ?
    Cheers.

    Select
              View ▹ Show View Options
    from the Finder menu bar. In the dialog that opens, select
              Arrange by: None

  • Spotlight missing files and folders?

    Spotlight consistently misses certain files and entire folders, which I can find by rummaging through my finder, but can't find by searching in Spotlight. No these are not hidden files or library folders. Yes I have checked my privacy settings and used the privacy options to re-index spotlight. Why would Spotlight miss certain folders? Does it only search to a certain depth? How can I get Spotlight to search these folders?

    Step 1
    These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
    Triple-click anywhere in the line below on this page to select it:
    syslog -F '$Time $Message' -k Sender mdworker -o -k Message Rne Norm -k Sender mds | tail | pbcopy
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window by pressing the key combination command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
    The command may take a noticeable amount of time to run. Wait for a new line ending in a dollar sign ($) to appear.
    The output of the command will be automatically copied to the Clipboard. If the command produced no output, the Clipboard will be empty. Paste into a reply to this message. 
    The Terminal window doesn't show the output. Please don't copy anything from there.
    If any personal information appears in the output, anonymize before posting, but don’t remove the context.
    Step 2
    Enter the following command as in Step 1 and post the output:
    mdutil -as 2>&- | pbcopy
    You can then quit Terminal.
    Step 3
    Launch the Console application in the same way you launched Terminal. In the Console window, look under the heading DIAGNOSTIC AND USAGE INFORMATION on the left for crash reports related to Spotlight. If you don't see that heading, select
              View ▹ Show Log List
    from the menu bar. A Spotlight crash report has a name beginning in "mds" or "mdworker" and ending in ".crash". Select the most recent such report, if any, from the System and User subcategories and post the entire contents—the text, please, not a screenshot. In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)
    Please don’t post any other kind of diagnostic report, such as hang logs—they're very long and not helpful.

  • Isn't the Spotlight Index File a Massive Security Threat?

    I'm wondering about the concept that Spotlight makes a really deep search -- and record -- of all user-created text files on your computer.
    In order for Spotlight to know that a file called "My Personal Stuff.rtf" contains the words "bank", "account", "number", "1234-567890" it needs to copy each of those keywords into the Spotlight index. That means in effect that Spotlight is making a *complete copy* of *all words* in *all text documents* ever on or temporarily connected to your computer, except for un-searched words like "the", "and", etc.
    If you've ever plugged your thumb drive into a public Mac somewhere, Spotlight got to work and copied all the (key-) words in every file on your thumb drive into the Spotlight index on that computer.
    If you're happy that at least you had Filevault turned on when your laptop with the big corporate secrets and list of thousands of people's personal info got stolen -- there was also a non-Filevaulted Spotlight index on that computer with all the contents of every document extracted as keywords, for the sophisticated cyber criminals to pore over.
    Of course, you can turn off Spotlight indexing -- if you never want to be able to find a file on your computer even by file name... on your own computer at least. Not on that other computer you're plugging your drive into.
    Is there something I'm missing here?
    I'm not the first to wonder this -- see this archived, and cluelessly unanswered and unconcluded -- post from last year:
    http://discussions.apple.com/thread.jspa?threadID=1390619

    glkdfhgkdfjghdfkgjhdfkgjh wrote:
    I'm wondering about the concept that Spotlight makes a really deep search -- and record -- of all user-created text files on your computer.
    In order for Spotlight to know that a file called "My Personal Stuff.rtf" contains the words "bank", "account", "number", "1234-567890" it needs to copy each of those keywords into the Spotlight index. That means in effect that Spotlight is making a *complete copy* of *all words* in *all text documents* ever on or temporarily connected to your computer, except for un-searched words like "the", "and", etc.
    If you've ever plugged your thumb drive into a public Mac somewhere, Spotlight got to work and copied all the (key-) words in every file on your thumb drive into the Spotlight index on that computer.
    If you're happy that at least you had Filevault turned on when your laptop with the big corporate secrets and list of thousands of people's personal info got stolen -- there was also a non-Filevaulted Spotlight index on that computer with all the contents of every document extracted as keywords, for the sophisticated cyber criminals to pore over.
    Of course, you can turn off Spotlight indexing -- if you never want to be able to find a file on your computer even by file name... on your own computer at least. Not on that other computer you're plugging your drive into.
    Is there something I'm missing here?
    yes, you are. spotlight index for a drive is kept on that drive. it's not copied to any other drive. that also applies to virtual volumes contained in disk images like a filevaulted home directory. that is, spotlight index for a filevaulted home directry is stored inside the sparse bundle with that home directory. nobody else has access to it and when you are not logged into a filevaulted account there is no trace of the spotlight index for it on the system.
    I'm not the first to wonder this -- see this archived, and cluelessly unanswered and unconcluded -- post from last year:
    http://discussions.apple.com/thread.jspa?threadID=1390619
    Message was edited by: V.K.

  • Spotlight shows files / notes / ... of other users

    Hello,
    my spotlight search returns (sporadically, not always) files, notes, etc. of other users. I have iMac 27-inch Late 2012 with OS X 10.9.3 (13D65).
    When I find results of other users, I don't have access to them so klicken on the results doesn't cause an action.
    This occours on every user, not only system root. All privileges are default. I've found some google-results of users having the same problem just after a fresh install.
    Some ideas? Is this a known bug?
    Greetings
    Sebastian

    BasKoeln wrote:
    This occours on every user, not only system root. All privileges are default. I've found some google-results of users having the same problem just after a fresh install.
    You have the root user enabled? I think that is generally frowned upon - it can cause all sorts of permissions errors. I'd expect Spotlight to obey whatever the local permissions dictate (if it is working as designed).
    I would try resetting the user permissions for the home folders and then follow Linc's tip for rebuilding the index again.
    Backup before you begin just in case…
    Boot holding cmd+R. Recovery mode should startup (assuming you have a recovery partition).
    Select Terminal from the Utilities menu.
    Enter the word…
    resetpassword
    … & hit return.
    The GUI app will open, select the main boot HD.
    Select your user account in the popup menu.
    Then click the 'Reset' button at the bottom right. It will "Reset Home Folder Permissions & ACL's"
    Repeat for the other users.
    Quit ResetPassword from the menu,
    Quit Terminal
    Reboot

  • Finding/Spotlighting Selected Files

    I copied some old websites from my PC over to my Mac. They were made in Microsoft FrontPage and feature lots of weird files, many of them named Thumbs.db. I discovered that I type the name of a file into Spotlight, then click Show All to reveal all of them, after which I can choose Select All and delete them.
    The problem is there are also files named Thumbs.db in some of my software programs, especially Photoshop. So is there a way to search and/or select ONLY files named Thumbs.db that occur in User > Sites?
    Thanks.

    I opened up Script Editor and pasted in the code you provided. It processed it for a while, then issued the following error message:
    "Finder got an error: AppleEvent timed out."
    However, when I click on Finder, I get the spinning icon that tells me it's still processing. When I click off Script Editor, I get the following message:
    Do you want to save the changes you made in the document "untitled"?
    My hunch is that the script you gave me is working, but my memory is overwhelmed because of the sheer number of files that need to be deleted. If so, that may spawn a new thread: What happened to the second GB of memory I installed yesterday?
    Thanks.

  • Spotlight where files are stored?

    Is there a way to get spotlight to show the Path of a file? I don't want to just open it, I want to know where it is.

    The only way I've come up with to do it is to to view the Spotlight results in the Finder by selecting Show All in Finder.
    You can also just do your search in a Finder window in the first place.
    In the Finder make sure that View>Show Path Bar is selected.
    MattShow

  • Spotlight missing files/folders/apps

    Not sure why, but spotlight has started missing files/folder/apps from searches.
    I have tried rebuilding the index using all the sudo commands, and third party apps like Onxy with no success. I have also deleted the .plist file- still with no luck.
    Spotlight will find some folder/files within a directory, but not others in the same dir. App have started not showing up now too.
    Any help or advice is appreciated as this is causing productivity problems at work now!

    I read it, but there's nothing in the mdutil manpage about blowing away the entire Spotlight directory. That's why it leads the pack. Alternatively, boot with the install disc, select your language, select Terminal from the Utilities menu in the next window, and do this command:
    *sudo rm -R /Volumes/"name of original boot volume"/.Spotlight-V100*
    quit the Terminal app, and reinstall Snow Leopard. See if that fixes the issue.

  • Why does spotlight find files & folders that i've deleted?

    i have several external drives connected to my g4/os 10.3.9 housing my music collection
    when i connect them to my intel mac mini/ os 10.4.10 and delete a file or folder it still shows up if i search for it in spotlight (or using the search in the top right of the finder window). it shows up with a blank icon, uses zero k, does not give any location, is "read only", and if you double-click it a message comes up saying that it is an alias and the original can no longer be found. it then gives me 3 options "delete", "fix alias" or "ok". none of these achieve anything.
    any ideas? it is annoying as it makes searching for anything really annoying as half of the results are these meaningless "aliases". this problem only occurs with files & folders originally created on the drives by my g4/ 10.3.9
    if i create and delete a file or folder on the drive from my mac mini it behaves as normal (ie: once deleted it isn't found by searching.
    aaaagh!!! help!

    is there a way to force tiger to build an index for this drive? there was in panther (under disk info...you could see whether it was indexed, and start indexing if it wasn't) - couldn't see it in tiger (only had a quick look)

  • Very large Spotlight-V100 file

    I just rebuilt my Spotlight indexes on numerous partitions.
    Most are now 50-200 MB.
    On my largest partition (470 GB with 335 GB used) the index is almost 1 GB.
    This seems excessive.
    Anyone else think this is huge (i.e. too big... bug)?
    Ron

    Was as easy as that. Thanks
    For those that might need this info later...
    You will need to be able to enable viewing of hidden files in finder. A quick google will help with this. Then from the GrandPerspective app you can reveal the file in finder so that you can them drag it to the trash.
    I will of course check out the log files again in a week or so to see if they are growing like crazy again.
    Thanks again V.K. for your very fast help.

  • Spotlight Missing Files

    Hi folks. I'm not sure why this is happening but no matter how many times I rebuild the index, Spotlight invariably misses some things. For instance, I have a file called passwords.doc. This was created a long time ago, and is obviously a Word file. Spotlight will not find this if I type password, but will if I make it plural. Yet there is a "2007 passwords" rtf file on the computer that it will find as soon as i type pas or pass. Another is a saved html page, called something like "social circles blah blah blah" ... if i type social, nothing. Social circle, nothing. social circles, and it pops up.
    Is this a permissions issue? Is there a way to fix this? I just want the tool to be reliable, and I thought I had lost the old password file for days before I found it manually.
    Thanks all.
    John Tracey

    Spotlight is missing files.... I have a file "DSC_2000.jpg" - nothing found although there is a file with name in folder "pictures" - and it does not appear in my today or yesterday finder folder - even though it was created today.
    The weird thing if I look up "DSC_1" I get files - if I look up "DSC_" I get files but not any "DSC_2"
    "000.jpg" gets nothing.
    Does it take time for files to get indexed for Spotlight or placed into the "Today folder " --- the files are about 1 hour old...?

  • Spotlight Search file contents

    I have a lot of Flash .as files. They are just text files, but they need the .as extension to work with Flash.
    I'm trying to use Spotlight to search inside them, but it doesn't seem to work. I know that there are certain words in the contents of these files, but if I search I get no results.
    Is there a way to tell Spotlight to index these types of files? Why wouldn't it just do it to begin with?

    They open by default into Flash. But if I open one with text text they open just fine. They are simply text files.
    Spotlight seems to know how to look inside all kinds of things. It seems to index jsfl (another kind of file related to Flash) so it seems to know about a lot of "fringe" types.
    If not there must be some way to edit the spotlight settings and tell it that .as files are just text....

  • Find all Spotlight commented files

    Hi,
    so I'm trying to figure out what comments I have been using in my files' Spotlight comments field. I tag my files this way and I'd like a list of all the comments I have inserted there. Any way to squeeze this out of Finder?

    In the Finder window, right click on the title bar and select comments.  They will be listed and can be sorted.
    Another idea is to create a smart folder listing all files with non blank comment fields.
    Regards,
    Captfred

Maybe you are looking for

  • Text elements not centered anymore once project goes live

    Hi guys, I've discovered Edge Animate a few days ago and I really love that it looks and feels a lot like After Effects - you should exchange and implement some functions of EA to AE (i.e. the curves easing options) & vice versa though What I went th

  • Installed new hard disk to power mac g4

    hi i have just installed a new hdd to a power mac g4, when i go to install the os 9 9.2.1 it won't see the hard disk if i install a later os like os x it see it. any ideas?

  • System changes status of preceding document

    Hello *, within our quotation process we're faced to a not expected and not required behaviour. process: 1. Create quotation with item lines 2. Press button "more" --> "Send all Items" 3. Create a follow-up quotation 4. Choose to be copied items 5. S

  • Display iMac Late 2009 color profile questions:

    My friend dropped his mid 2010 iMac 21.5 inch desktop computer over for me update to Yosemite because I have a very fast connection. I have a late 2009 iMac 21.5 inch. When side by side, I noticed that my display is quite dim compared to his. Also, t

  • Invalid Message Authenticator in EAP Request

    Hi, I am attemping to configure Infratructure authentication for WDS and WPA/PEAP Client authentication using ACS 4.1(1) Build 23 from an Aironet 1210 running IOS 12.3(8)JEC. I have a production ACS server that has both LEAP and PEAP enabled under th