In my experience, the keys to getting proper behavior out of finder are two-fold: one, don't deny your filesystem the ability to create or modify any files; this includes._ files, .DS_Store files, .hidden files, etc; two, make sure all the values in your stat structure are well-formed; every field that MacFuse supports (I think I've covered them all above) should be set to a good value. That is, it should have a valid atime, mtime, and ctime; nlink should probably be zero (doubtful your vfs can support hardlinks correctly); ino should be nonzero; mode should be something reasonable, like 0100755 for a file and 040755 for a directory; uid and gid should be your uid and gid, respectively; and the rest can be zero.
Do you have these problems with versions of MacFuse prior to 1.5.1? I didn't start seeing the "privileges" error until I installed the latest version, and for me, setting st_flags to zero was the fix. On Jun 12, 10:30 am, "Dennis Thrysøe" <[EMAIL PROTECTED]> wrote: > Hi, > > Thanks. Quite enlightening. > > But unfortunately I'm not really closer to solving the problem. > > The essence of the links you sent seem to be preservation of xattrs. In my > case through the use of dot-underscore files. > > These seem to be stored just fine. So I have no idea what my filesystem > implementation doesn't live up to. > > -dennis > > On Thu, Jun 12, 2008 at 3:23 PM, Graham Perrin <[EMAIL PROTECTED]> > wrote: > > > In brief: if your file system does not support what's expected by > > Finder, then messages from Finder may be inconclusive. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "macfuse-devel" group. To post to this group, send email to macfuse-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/macfuse-devel?hl=en -~----------~----~----~----~------~----~------~--~---