[OpenAFS-devel] kuserok() checking UID ownership on afs

Harald Barth haba@pdc.kth.se
Wed, 02 Feb 2005 15:56:03 +0100 (MET)


> Would you accept any changes in this area to check if the file
> is in AFS, and not check the ownership?
> like if (strncmp(path,"/afs",4) ...

If you do something like krb_afslog_*_() and then succeed to open
.klogin for writing it would convince me that the user has enough
rights without guessing what file system type .k5login is on.

Harald.