[PATCH] afs: Fix updating of i_mode due to 3rd party change

David Howells dhowells at redhat.com
Wed Feb 10 14:30:45 EST 2021


Al Viro <viro at zeniv.linux.org.uk> wrote:

> > Also, it's been suggested that I should also mask off the SUID, SGID and VTX
> > bits.
> 
> No sticky bit on AFS, you mean?

Well, AFS will store these bits, but it's kind of dangerous to have SUID/SGID
binaries on a globally distributed filesystem.  Possibly a better way would be
to turn on MNT_NOSUID by default.

David




More information about the linux-afs mailing list