> 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.