Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to index /opt or /usr/local/cellar and symlinks w/ Spotlight #3125

Closed
luzpaz opened this issue Feb 24, 2014 · 2 comments
Closed

Unable to index /opt or /usr/local/cellar and symlinks w/ Spotlight #3125

luzpaz opened this issue Feb 24, 2014 · 2 comments

Comments

@luzpaz
Copy link
Contributor

luzpaz commented Feb 24, 2014

OSX 10.8.5
brew 0.9.5
Can't invoke apps in caskroom (as well as brew cellar) because they are not being indexed by Spotlight. This also means Spotlight is not honoring symlinks in /Applications or ~/Applications

FYI,

  • I am signed in as Admin.
  • Did not find a way to tell Spotlight to add directories to index.
  • The suspected issue is that this is a permissions thing. I understand (from AmnesiousFunes on freenode channel homebrew-cask) that this is not an issue on Mavericks

EDIT: added more information

@rolandwalker
Copy link
Contributor

Hi!

Spotlight is finicky, so this is an ongoing issue. See #188 or (more recently) #2847 .

Spotlight definitely does not index symlinks, though we would like to find a way to convince it to do so. But it should index the applications in /opt/...

Most of us do not run as administrator. However, logging in as administrator, I cannot duplicate the issue (Spotlight does find my applications under /opt/...).

Therefore I suggest that you try these commands

$ mdutil -i on /
$ mdutil -E /

which will have the effect of forcing Spotlight on for the root volume, and then erasing (and rebuilding) the index.

Finally, you should check "Spotlight" in the System Preferences app to make sure no categories are disabled.

@luzpaz
Copy link
Contributor Author

luzpaz commented Feb 25, 2014

Thanks for this reply. 👍

BTW...no categories were disabled.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants