mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
STABLE14-fileserver-sticky-bit-admin-only-20080905
LICENSE IPL10
do restrict the sticky bit to admins.
(cherry picked from commit 5c2406070f
)
This commit is contained in:
parent
bceaa3b027
commit
398f676fc1
@ -1573,7 +1573,7 @@ Update_TargetVnodeStatus(Vnode * targetptr, afs_uint32 Caller,
|
||||
#define CREATE_SGUID_ADMIN_ONLY 1
|
||||
#ifdef CREATE_SGUID_ADMIN_ONLY
|
||||
if (VanillaUser(client))
|
||||
modebits = modebits & 1777;
|
||||
modebits = modebits & 0777;
|
||||
#endif
|
||||
if (VanillaUser(client)) {
|
||||
targetptr->disk.modeBits = modebits;
|
||||
|
Loading…
Reference in New Issue
Block a user