From: Stef B. <st...@gm...> - 2010-01-01 11:02:13
|
Hello, happy newyear!! I hope everybody had a good time yesterday... To start the new year, I've got a question about the access function. I've read in the pages from the opengroup: http://www.opengroup.org/onlinepubs/009695399/functions/access.html and in the fuse.h headerfile, that access checks the file access permissions, but as I look to the logfile of my fs: 2010-01-01T10:24:26.691876+01:00 lfs20080510 fuse-workspace-union: access, pad: /Network/Windows Network/BONONLINE/LFS20060812 2010-01-01T10:24:26.691914+01:00 lfs20080510 fuse-workspace-union: IsSymbolicLink: /var/lib/mount.md5key/home/gast/Network/Windows Network/BONONLINE/LFS20060812 2010-01-01T10:24:26.691966+01:00 lfs20080510 fuse-workspace-union: getattr, pad: /Network/Windows Network/BONONLINE/LFS20060812 2010-01-01T10:24:26.692003+01:00 lfs20080510 fuse-workspace-union: IsSymbolicLink: /var/lib/mount.md5key/home/gast/Network/Windows Network/BONONLINE/LFS20060812 So this information show's it's working on directories. Now how does it work?? Does is work on a file or a directory?? Futher, getattr does call lstat, which looks in case of a symlink to the symlink self, not the target. What does the system access function ?? Look to the symlink self or the target?? Stef Bon |