I mount user’s network volumes like this:
/sbin/mount_smbfs -o nobrowse //emphomedir/staff$ /tmp/homedirs
I have edited /Spotlight-V100/_rules.plist like this:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.
com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>EXCLUDE</key>
<array/>
<key>INCLUDE</key>
<array>
<string>/private/tmp/homedirs</string>
<string>/tmp</string>
<string>/private</string>
</array>
<key>NOTE</key>
<string>Specify paths to include or exclude, preceeding rules which targ
et user-homes with ~/</string>
</dict>
</plist>
Yet whenever I open a Finder window and try an run a query on the contents of, say, /tmp/homedirs/sketch/My Documents/ I get nothing. Spotlight doesn’t even try.
Any ideas of what’s going on here?