--- src/viced/afsfileprocs.c 2001/09/25 15:44:42 1.13 +++ src/viced/afsfileprocs.c 2001/09/27 03:06:41 @@ -2536,15 +2536,15 @@ } /* - * If we're creating a mount point (owner mode bits sans x bit), we must - * have administer access to the directory, too. Always allow sysadmins + * If we're creating a mount point (any x bits clear), we must have + * administer access to the directory, too. Always allow sysadmins * to do this. */ - if ((InStatus->Mask & AFS_SETMODE) && !(InStatus->UnixModeBits & 0100)) { + if ((InStatus->Mask & AFS_SETMODE) && !(InStatus->UnixModeBits & 0111)) { /* - * We have a symlink, 'cause we're trying to set the Unix mode bits - * to something without the owner x bits (default mode bits if - * AFS_SETMODE is false is 0777) + * We have a mountpoint, 'cause we're trying to set the Unix mode + * bits to something with some x bits missing (default mode bits + * if AFS_SETMODE is false is 0777) */ if (VanillaUser(client) && !(rights & PRSFS_ADMINISTER)) { errorCode = EACCES;