So, this won't be "fixed" in the kernel, as it has security
implications.
The ltp test has been fixed to ignore this specific behavior. It has
been committed already to ltp, so closing on the test side as well.
3c87ef2961dedb10d1f674c6a530e00dbab8ec1b ("open|creat: skip S_ISGID
check on files created by non-group members") is the ltp commit.
** Changed in: ubuntu-kernel-tests
Status: New => Fix Released
** Changed in: linux (Ubuntu Cosmic)
Status: Confirmed => Invalid
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1783877
Title:
ltp-syscalls: sgid inheritance for non-directories behavior changed
Status in ubuntu-kernel-tests:
Fix Released
Status in linux package in Ubuntu:
Invalid
Status in linux source package in Cosmic:
Invalid
Bug description:
ltp syscalls open10 and and creat08 try to create an sgid executable
file inside a sgid directory owned by a group whose members do not
include the process user.
That used to work up to commit
0fa3ecd87848c9c93c2c828ef4c3a8ca36ce46c7 ("Fix up non-directory
creation in SGID directories").
This was backported to 4.17.9 and so affects the current kernel in
cosmic proposed, and breaks such ltp tests.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1783877/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp