Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

search a sharepoint

(10.8.2)


Is there a way to search the fils shared on our server by using the Spotlight search?



What I'm looking to do is search for files that are in the share point on my server by using Spotlight. That, would be super.


I would settle for opening the share point and being able to use the search function there. But while I am browsing through a folder and I use the search bar in the right corner (I'm refering to the one in the finder window, not the spotlight search bar in the corner of my screen) it won't return any results.


If I use Screen Share to access the server and try the same, it returns with the expected results....



Is there some setting I'm missing somewhere????




Things to note:

Using a Mac Mini as my server (OS 10.8.2) w/ Server.app

Mac Mini Server-OTHER, OS X Server

Posted on Mar 17, 2013 11:47 AM

Reply
Question marked as Best reply

Posted on Mar 22, 2013 9:37 AM

You probably don't have the correct ACL set for your file shares to allow Spotlight through to index the directories. If you do an ls -le in the parent directory your file share needs to have an ACL that looks like this…


1: user:_spotlight inherited allow list,search,file_inherit,directory_inherit


Once you have this Spotlight will be able to index your file share correctly and results returnable from a client system.

4 replies
Question marked as Best reply

Mar 22, 2013 9:37 AM in response to Quick_Cut_Production

You probably don't have the correct ACL set for your file shares to allow Spotlight through to index the directories. If you do an ls -le in the parent directory your file share needs to have an ACL that looks like this…


1: user:_spotlight inherited allow list,search,file_inherit,directory_inherit


Once you have this Spotlight will be able to index your file share correctly and results returnable from a client system.

Apr 15, 2013 5:56 AM in response to Quick_Cut_Production

When you look at the sharepoint using the Server App, you should see this:

User uploaded file



More specifically.. If your sharepoint is at the path of /Groups/Management and you issue this from Terminal (directly on the server)


ls -ale /Groups/Management



One of the lines returned should be:



1: user:_spotlight inherited allow list,search,file_inherit,directory_inherit





If you don't see this, its easy to add..



sudo chmod -R +a# 1 "_spotlight allow list,search,file_inherit,directory_inherit" /Groups/Management



Watch out for spaces in the name.

If you do have spaces or are unsure how to type the path, then enter



sudo chmod -R +a# 1 "_spotlight allow list,search,file_inherit,directory_inherit"   {read next line}


and before you hit enter, drag the sharepoint folder to the Terminal window to auto-fill the path.

Then hit return.

You also need to make sure spotlight is enabled for the drive which stores your sharepoint.


Check status of all drives with

sudo mdutil -s /Volumes/*

To enable for your startup drive:

sudo mdutil -i on /

If the sharepoint is on another volume.

sudo mdutil -i on /Volumes/Drivename




Hope that helps.

Apr 15, 2013 3:51 PM in response to UptimeJeff

Thank you for your response. I am going to give this a shot.


I just realized this, spotlight is still indexing... I don't know if this has any influence on what we're talking about.


Another point I should raise is that I have been having trouble getting Time Machine to backup the drive. It has been running for weeks and not completed, then it got stuck. I've stopped and am going to re-try the back-up. But first I'd like to shut down the server for a few minutes and restart it, just to see if the indexing will complete itself... Now if I could just get everyone to disconnect from the server for ten minutes! ha


I will try this all tonight and we'll see how it goes.


Thanks again for your help!!

search a sharepoint

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.