Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[rpm] add logic to ensure 0555 permissions on /usr/bin for rhel >= 6
We've found that RHEL 5 ships with mode 0755 on /usr/bin, while RHEL 6 and 7 ship with mode 0555. As a result, installing packages built for RHEL 6 or 7 contain files destined for /usr/bin will fail thusly: ``` file /usr/bin from install of sensu-1:0.27.0.beta.2-1.el7.x86_64 conflicts with file from package filesystem-3.2-20.el7.x86_64 ``` An solution solution would be to implement an approach which considers the permissions specified by the system's `filesystem` package at build time (see chef#666 (comment)). For now, we'll kick the can down the road a bit. Signed-off-by: Cameron Johnston <cameron@rootdown.net>
- Loading branch information