HomeFreeBSD

fusefs: Fix another obscure permission handling bug

Description

fusefs: Fix another obscure permission handling bug

Don't allow unprivileged users to set SGID on files to whose group they
don't belong. This is slightly different than what POSIX says we should do
(clear sgid on return from a successful chmod), but it matches what UFS
currently does.

Reported by: pjdfstest
Sponsored by: The FreeBSD Foundation

Details

Provenance
asomersAuthored on
Parents
rS347190: Use PCIV_INVALID in pci_channel_offline() in the LinuxKPI.
Branches
Unknown
Tags
Unknown