[LU-12266] Fix up non-directory creation in SGID directories Created: 06/May/19 Updated: 09/Sep/20 Resolved: 08/May/19 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.10.7, Lustre 2.12.1 |
| Fix Version/s: | Lustre 2.13.0, Lustre 2.12.2, Lustre 2.10.8 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Sebastien Buisson | Assignee: | Sebastien Buisson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
If a non-directory item is created in a SGID directory, it is possible that the SGID flag is not properly cleared, leaving the item with incorrect group ownership and flags. This is mitigated by mounting Lustre with the -o nosuid mount option on the client. The upstream kernel has a similar issue that was fixed in commit https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0fa3ecd87848c9c93c2c828ef4c3a8ca36ce46c7 |
| Comments |
| Comment by Gerrit Updater [ 06/May/19 ] |
|
Sebastien Buisson (sbuisson@ddn.com) uploaded a new patch: https://review.whamcloud.com/34809 |
| Comment by Gerrit Updater [ 08/May/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34809/ |
| Comment by Gerrit Updater [ 08/May/19 ] |
|
Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34829 |
| Comment by Gerrit Updater [ 08/May/19 ] |
|
Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34830 |
| Comment by Peter Jones [ 08/May/19 ] |
|
Landed for 2.13 |
| Comment by Gerrit Updater [ 10/May/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34829/ |
| Comment by Gerrit Updater [ 11/May/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34830/ |