Bug 471581
Summary: | how to restore advanced file permissions (Sticky, SUID, SGID) | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jan Huijbers <k3nn13> |
Component: | rpm | Assignee: | Panu Matilainen <pmatilai> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 9 | CC: | ffesti, jnovy, pknirsch, pmatilai |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-02-05 12:31:39 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jan Huijbers
2008-11-14 13:38:59 UTC
Moving to rpm component. The order matters here, --setperms and --setugids are two different operations, and changing uid/gid causes suid/sgid bits to be reset, undoing part of the work of --setperms. This'll do the trick (for all packages, to selectively reset replace -a with package names) # rpm --setugids --setperms -a No bug here, except perhaps insufficient documentation on these popt aliases. |