Skip navigation

search a sharepoint

717 Views 4 Replies Latest reply: Apr 15, 2013 3:51 PM by Quick_Cut_Production RSS
Quick_Cut_Production Calculating status...
Currently Being Moderated
Mar 17, 2013 11:47 AM

(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, OS X Server
  • infinite vortex Level 7 Level 7 (21,400 points)
    Currently Being Moderated
    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.

    MacBook Pro (Retina, Mid 2012), OS X Mountain Lion (10.8.2), 15" 2.3GHz 8GB / 256GB
  • UptimeJeff Level 4 Level 4 (3,390 points)
    Currently Being Moderated
    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:

    spotloght.jpg

     

     

    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.

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.