Don't give directory owners any implicit rights. Volume owners still
authorRichard Basch <probe@mit.edu>
Wed, 12 Jun 2002 18:06:45 +0000 (18:06 +0000)
committerGarry Zacheiss <zacheiss@mit.edu>
Wed, 12 Jun 2002 18:06:45 +0000 (18:06 +0000)
have their implicit rights.

src/viced/afsfileprocs.c

index 751857e..a65abc3 100644 (file)
@@ -5556,8 +5556,6 @@ Check_PermissionRights(targetptr, client, rights, CallingRoutine, InStatus)
                    /* grant admins fetch on all directories */
                    && VanillaUser(client)
 #endif /* ADMIN_IMPLICIT_LOOKUP */
-                   && !OWNSp(client, targetptr)
-                   && !acl_IsAMember(targetptr->disk.owner, &client->CPS)
                    && !VolumeOwner(client, targetptr))
                    return(EACCES);
            } else {    /* file */
@@ -5615,8 +5613,6 @@ Check_PermissionRights(targetptr, client, rights, CallingRoutine, InStatus)
          else {
            if (CallingRoutine == CHK_STOREACL) {
              if (!(rights & PRSFS_ADMINISTER) &&
-                 !OWNSp(client, targetptr) && 
-                 !acl_IsAMember(targetptr->disk.owner, &client->CPS) &&
                  !VolumeOwner(client, targetptr)) return(EACCES);
            }
            else {      /* store data or status */