Bug 440417
Summary: | chmod failure when using --setugids | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Jim Perrin <james.l.perrin> |
Component: | rpm | Assignee: | Packaging Maintenance Team <packaging-team-maint> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 5.1 | CC: | herrold, pmatilai |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-03-07 12:51:26 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
Jim Perrin
2008-04-03 13:54:01 UTC
Appears I spoke too soon. This appears to be more because of the use of --setugids, not --setperms. --setperms works as advertised. It's --setuigids which fails with the errors listed above. UGH... STILL speaking too soon. Individually each command succeeds. rpm --setperms httpd ; this succeeds rpm --setugids httpd ; this succeeds rpm --setperms --setugids httpd ; this fails with the error chmod: invalid mode: `0100644' rpm --setuigids --setperms httpd ; apparently command order matters. This fails with an incremented (one for each file) list of: sh: line 356: ch: command not found sh: line 357: ch: command not found sh: line 358: ch: command not found sh: line 359: ch: command not found It would seem that this is something minor and not escaped properly, though I'm not sure where exactly. Turns out this has gotten fixed a long time ago in the rebase to rpm 4.4.2.3: https://rhn.redhat.com/errata/RHBA-2009-0079.html |