Bug #2440
closed
rudder-server-root init script doesn't have right permissions on SLES or RHEL
Added by Nicolas PERRON over 12 years ago.
Updated over 9 years ago.
Description
# /etc/init.d/rudder-server-root
sudo: /etc/init.d/rudder-server-root: command not found
# ls -lh /etc/init.d/rudder-server-root
-rw-r--r-- 1 root root 1,7K avril 11 03:42 /etc/init.d/rudder-server-root
It must be 0755 not 0600
Is this really the case on all platforms? I'm sure it's not, because I use that script often (on Debian Squeeze)
- Subject changed from rudder-server-root init script doesn't have right permissions to rudder-server-root init script doesn't have right permissions on SLES or RHEL
Jonathan CLARKE wrote:
Is this really the case on all platforms? I'm sure it's not, because I use that script often (on Debian Squeeze)
No, it's only on RPM because of a mistake on rudder-server-root SPEC file.
- Status changed from New to Pending technical review
- % Done changed from 0 to 100
Applied in changeset commit:83f4e305abf073a1b59014df58e43edcb955cda1.
This instruction in SPEC file doesn't set files mode but directories:
%defattr(-, root, root, 0755)
- Status changed from Pending technical review to Released
- Project changed from Rudder to 34
- Category deleted (
11)
- Project changed from 34 to Rudder
- Category set to Packaging
Also available in: Atom
PDF