An update to the issue described earlier. It appears that the path only cannot be resolved by root. It can be resolved by the user (though this does me little good because mdutil must be run as root).
Again, for encfs (using MacFuse) mount point /Users/kensmosis/foo Under opensnoop, I ran "mdutil -s /Users/kensmosis/foo". The STRTIME UID PID COMM FD PATH [The following was run as root using sudo] 2009 Sep 9 13:42:04 0 673 mdutil -1 /Users/kensmosis/ foo [The following was run as kensmosis] 2009 Sep 9 13:42:36 502 674 mdutil 4 /Users/kensmosis/ foo 2009 Sep 9 13:42:36 502 674 mdutil 4 /Users/kensmosis/ foo 2009 Sep 9 13:42:36 502 27 mds 7 /Users/kensmosis/ foo The mount point permissions are: drwxrwx--- 12 kensmosis kensmosis 408 Sep 2 20:51 foo The source (encfs source dir) has the same permissions. Clearly, there is some difference in the access between root and the user. Is this an issue with MacFuse? Cheers, Ken On Sep 3, 2:59 pm, Kensmosis <[email protected]> wrote: > I believe that the following may be a MacFuse/OS compatibility issue, > though I encountered it in the specific context described below: > > Until recently, I was able to get spotlight to index MacFuse mounted > EncFS volumes using mdutil. After upgrading to 2.0.3 and snow > leopard, it will not do so anymore. No options (for encfs or fuse) > have been changed and the encfs volumes are otherwise fine (i.e. I can > access them as before). To be precise, there were 2 upgrades > involved: > > 1. I moved from MacFuse 1.7.1 to 2.0.3 and EncFS 1.4.2 to 1.5-2. > This was in preparation for snow leopard installation. > 2. I upgraded from 10.5.8 to snow leopard. I am running K32 not K64. > > Unfortunately, I am not sure if the indexing broke between these or > after the 2nd - so it may not be specific to snow leopard. > > The volume is mounted using -ovolname=foo and -oauto_xattr on a local > directory. Running the mount command shows > en...@fuse0 on /Users/kensmosis/Foo (fusefs, nodev, nosuid, > synchronous, mounted by kensmosis ) > > A drive icon appears on my desktop with name foo, but not in the drive > list in finder (this is the same behavior as before the upgrades, so > no oddity there). The mount appears in /Users/kensmosis/Foo and > operates normally. However, if I run "sudo mdutil -s /Users/kensmosis/ > Foo" it says > > Error: could not resolve path `/Users/kensmosis/Foo'. > > As far as I can tell, this is a more general problem than spotlight. > For some purposes (but not others), the OS can't resolve the mounted > path. When the volume is unmounted, it can resolve the empty path, > but not when it is mounted. I do not believe it is encfs specific, > as the same behavior occurred with sshfs (though I had never tried > indexing such a volume before, so I can't say if this is new). > > Perhaps there is an incompatibility between Snow Leopard and one > particular MacFuse system call that is used by certain OS functions > but not others. 'df' works fine, and there is a .Trashes file that is > very recent in the mounted volume so the OS sees the fuse volume for > many purposes but not others. > > Thanks in advance for any suggestions anyone has. > > Cheers, > Ken --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MacFUSE" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/macfuse?hl=en -~----------~----~----~----~------~----~------~--~---
