[OpenAFS-devel] handling of file-permissions of client 1.3.84
Christof Hanke
hanke@rzg.mpg.de
Thu, 09 Jun 2005 10:32:36 +0200
Hi,
I'm just writing this to the list as well in case not all members read
the bug-tracker.
Maybe someone has seen it as well and already knows the solution. Or
maybe it is something SuSE-related.
Note the change of error from "Permission denied" to "No such file or
directory"
Christof
copy of ticket #19205 :
Version: OpenAFS-1.3.84
OS : Linux (SuSE 9.2, kernel 2.6.8-24.14)
When a stat() is issued on a file without the proper access rights, the
file becomes inaccessible even if the required token is obtained.
This did not happen with client v. 1.3.79
Christof
Example :
(Note: "ls" is aliased so that it does a real stat() on each file to
set the rigth colours!)
hanke@x335b:/> tokens
Tokens held by the Cache Manager:
--End of list--
hanke@x335b:/> cd /afs/ipp/u/hanke/
hanke@x335b:/afs/ipp/u/hanke> ls
/bin/ls: addressbook.csv: Permission denied
/bin/ls: remote_addrbook: Permission denied
/bin/ls: Sent: Permission denied
/bin/ls: vos: Permission denied
/bin/ls: move.sh: Permission denied
/bin/ls: mpp-fs.8volumes: Permission denied
/bin/ls: salvage_log: Permission denied
/bin/ls: move_cmd.sh: Permission denied
/bin/ls: Junk: Permission denied
/bin/ls: movelog: Permission denied
afslogs bin Denkzettel Documents io-tests mail mail-old
openafs OpenOffice.org1.1 packages public src
Baustellen DEISA Desktop httpd-2.0.54 kdump Mail nsmail
OpenOffice.org opt private scratch
hanke@x335b:/afs/ipp/u/hanke> klog hanke
Password:
hanke@x335b:/afs/ipp/u/hanke> tokens
Tokens held by the Cache Manager:
User's (AFS ID 1479) tokens for afs@ipp-garching.mpg.de [Expires Jul 8
17:41]
--End of list--
hanke@x335b:/afs/ipp/u/hanke> ls
/bin/ls: addressbook.csv: No such file or directory
/bin/ls: remote_addrbook: No such file or directory
/bin/ls: Sent: No such file or directory
/bin/ls: vos: No such file or directory
/bin/ls: move.sh: No such file or directory
/bin/ls: mpp-fs.8volumes: No such file or directory
/bin/ls: salvage_log: No such file or directory
/bin/ls: move_cmd.sh: No such file or directory
/bin/ls: Junk: No such file or directory
/bin/ls: movelog: No such file or directory
afslogs bin Denkzettel Documents io-tests mail mail-old
openafs OpenOffice.org1.1 packages public src
Baustellen DEISA Desktop httpd-2.0.54 kdump Mail nsmail
OpenOffice.org opt private scratch
hanke@x335b:/afs/ipp/u/hanke> cat addressbook.csv
cat: addressbook.csv: No such file or directory
-----------------------------------------------------------------
Christof Hanke e-mail hanke@rzg.mpg.de
RZG (Rechenzentrum Garching) phone +49-89-3299-1788
Computing Center of the Max-Planck-Gesellschaft (MPG) and the
Institut für Plasmaphysik (IPP)