sragraha@redhat.com has uploaded this change for review.

View Change

Git Issue [1355]: Fix sticky bit handling in directory permission checks

Previously, sticky bit (0o1000) was incorrectly used only as a reference
for directory operations.

Change: Sticky bit now properly enforces its own semantic - preventing
unprivileged users from deleting/renaming files they don't own in
shared directories.

Change-Id: I9f0bcf55979cf4d5fe0a5a01aece1cfebd783e73
Signed-off-by: Sreedhar Agraharam <sragraha@redhat.com>
---
M src/FSAL/commonlib.c
M src/Protocols/NFS/nfs4_op_remove.c
M src/Protocols/NFS/nfs4_op_rename.c
M src/Protocols/NFS/nfs_proto_tools.c
M src/include/nfs_proto_tools.h
5 files changed, 95 insertions(+), 13 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/98/1228998/1

To view, visit change 1228998. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I9f0bcf55979cf4d5fe0a5a01aece1cfebd783e73
Gerrit-Change-Number: 1228998
Gerrit-PatchSet: 1
Gerrit-Owner: sragraha@redhat.com