Bug 1038442
Summary: | chown() does not clear suid bit | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Anand Avati <aavati> |
Component: | access-control | Assignee: | Jiffin <jthottan> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | mainline | CC: | atumball, bugs, chrisw, varao |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.12.13 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-10-12 15:30:36 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Anand Avati
2013-12-05 06:34:38 UTC
REVIEW: http://review.gluster.org/6436 (posix-acl: clear SUID and SGID bits on chown() by non-root) posted (#1) for review on master by Anand Avati (avati) Steps to Reproduce: 1. chmod +s dir 2. chown newuser dir 3. ls -ld dir This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions REVIEW: https://review.gluster.org/6436 (posix-acl: clear SUID and SGID bits on chown() by non-root) posted (#2) for review on master by Raghavendra G (rgowdapp) The posted patch would need a rebase to handle clang-format changes etc. REVIEW: https://review.gluster.org/6436 (posix-acl: clear SUID and SGID bits on chown() by non-root) posted (#3) for review on master by Varsha Rao This bug is already fixed and patch is no longer required. With or without the patch setuid bit is cleared by chown. The test case introduced by the patch for this bug is successful without the patch too. |