Displaying 1 result from an estimated 1 matches for "attr_kill_sgid".
2013 Nov 28
3
[Bug 10295] New: do_lchown() after set_xattr() causes xattrs to be dropped on Linux 3.10.20.
...541 in the context of
chown_common() from linux kernel fs/open.c around the 500th line. It appears
that the SET{G,U}ID bits and security attrs are cleared.
Relevant kernel line:
if (!S_ISDIR(inode->i_mode))
newattrs.ia_valid |=
ATTR_KILL_SUID | ATTR_KILL_SGID | ATTR_KILL_PRIV;
Suggestion: move the SUPPORT_XATTRS code invocation after the if (change_uid...
block.
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.