Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6966295
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T16:10:23+00:00 2026-05-27T16:10:23+00:00

I turned off spotlight and was very thorough about it. So thorough that I

  • 0

I turned off spotlight and was very thorough about it. So thorough that I can’t get it turned back on. I need to install a program from the Mac App Store (& App Store relies on mds), so if anyone has information on how to install an App Store program without mds at all (spotlight), that would be even better.

So my problem is that spotlight is complaining it can only run as root, but I can’t for the life of me figure out why it isn’t. From what I understand, launch daemons in /System/Library/LaunchDaemons are automatically launched as root as long as they have the correct permissions. Every file that directory is rw-r-r. Here are the commands I’ve been using to unload/load spotlight from launchd:

sudo mdutil -a -E -i off
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
sudo rm -rf "/.Spotlight-V100"
sudo chmod 600 /System/Library/CoreServices/Search.bundle/Contents/MacOS/Search

I also rename the mds executables in /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Support, adding a .bak extension.

To reload it, I essentially undo those steps. However it’s not working right now. I’ve searched for the error on google, but no dice. I reloaded the mds binaries from the Snow Leopard install image, didn’t do anything. I’ve repaired permissions 4-5 times and manually looked up the tree to see if I noticed any permissions were wrong, but everything is root:wheel 755 like I assume it should be in the Frameworks folder, and rw-r-r in the LaunchDaemons folder. However mds is constantly spitting messages to the console that say
mds[pid] (Fatal) Server: mds must be run as root. exiting.

Anyone have any clue what is going on? I’d rather not reformat right now since I’ve put quite a long time into setting up this computer and I just want to install one program from the App Store.

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T16:10:24+00:00Added an answer on May 27, 2026 at 4:10 pm

    Well, wouldn’t you know as soon as I break down and post on SO I find the solution: I found someone’s spotlight-enable script and pasted it into my terminal. Rebooted, spotlight working, installed program, disabled spotlight again. This is what I used:

    sudo chmod 775 /Library/Spotlight;
    sudo chmod 755 /System/Library/Spotlight;
    sudo chmod 755 /System/Library/PreferencePanes/Spotlight.prefPane;
    sudo chmod 755 /System/Library/Services/Spotlight.service;
    sudo chmod 755 /System/Library/CoreServices/Spotlight.app/Contents/MacOS/Spotlight;
    sudo chmod 555 /usr/bin/mdimport;
    sudo chmod 555 /usr/bin/mdcheckschema;
    sudo chmod 555 /usr/bin/mdfind;
    sudo chmod 555 /usr/bin/mdls;
    sudo chmod 555 /usr/bin/mdutil;
    sudo chmod 555 /usr/bin/md;
    

    As Thilo pointed out, this isn’t really programming related so it can be moved to Super User or whatever else anyone things is better.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a loop which need to be turned off so that it can
I have turned off all of the intelligent typing preferences that I can find
I have a notification that needs to repeat daily. It can be turned off
The error generated is Conditional Compilation is turned off. Conditional Compilation hack from MSDN
Today I found that my site was down...I turned the errors to off and
EDIT : It turned out that this can only be done through an external
Can it be turned off ? If yes: how ? For instance it keeps
One Entity Framework 'gotcha' I keep encountering is that lazy loading is turned off
How can wifi be turned off/on programmatically and do is rooted or system app
The documentation for automake's silent-rules option states that silent rules will be turned off

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.