[OpenAFS-port-darwin] access right problem from Finder
Chaskiel M Grundman
cg2v@andrew.cmu.edu
Fri, 09 Aug 2002 11:54:18 -0400
--On Friday, August 09, 2002 10:23:39 +0200 Michael Endler
<Endler@ipp.mpg.de> wrote:
> However, from the Finder or from any program using
> the graphical interface to open/save files, I have only the access rights
> of "others" to my files.
This is expected behavior when your AFS pts id and your Mac OS uid are not
the same. The Carbon libraries use information from stat() to make access
control decisions that they have no buisiness making in the first place.
This has been discussed before. Unless and until apple switches from the
stat(2) method to the access(2) method of determining effective
permissions, the only workaround is to synchronize uids.