> 1) Symptoms not limited to keychains; it occurs with other types of  
> file. I tried but failed to lock a PDF.

"Lock a PDF" is quite a vague statement. There are plenty of ways to
"lock files". Based on your SetFile example that you quote later, the
kind of "locking" you're talking about isn't really locking per se.
"SetFile -a L" actually sets the BSD'ish user immutable flag ("uchg")
on the file. To learn more about "uchg", see the man pages for
chflags(1) and chflags(2). "SetFile -a L foo.txt" is equivalent to
"chflags uchg foo.txt". The platform-independent FUSE API doesn't
support such file flags, so without OS X specific API extension,
MacFUSE doesn't have a way of passing these up to user space. In
short, not every file system supports these flags. MacFUSE doesn't as
well.

How did you conclude that whatever you or Monty Burns are trying to do
is failing on this type of "locking"? What *are* you folks trying to
do anyway? This discussion is too vague and needs more context. If
creating keychains is an issue, then FWIW, I *can* create a keychain
OK on a fusexmp_fh file system.

> 2) Symptoms not limited to EncFS; I can't lock items on an SSHFS volume.

I specifically suggested trying fusexmp_fh. sshfs doesn't do *many*
things that Mac OS X expects (say, from HFS+), so many things would
work differently or just not work. fusexmp_fh would be closer to HFS+,
but still, it is not HFS+ and there will still be differences. The
uchg stuff still wouldn't be supported, so in this case, fusexmp_fh
wouldn't be any better than sshfs.

> (I know, M probably has no logical use in an EncFS context. Just  
> experimenting with a file attribute other than L.)

Despite the impression the SetFile manual/help gives, not all
"attributes" are stored the same way. For example, some things are
part of the Finder Info (supported by MacFUSE).

Mac OS X is indeed Frankensteinian. That nature comes through even
more so in the realm of file systems.

Amit
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"macfuse-devel" 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-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to