Bug #2440
rudder-server-root init script doesn't have right permissions on SLES or RHEL
| Status: | Released | Start date: | 2012-04-13 | |
|---|---|---|---|---|
| Priority: | N/A | Due date: | ||
| Assignee: | % Done: | 100% |
||
| Category: | - | |||
| Target version: | Rudder - 2.3.7 | |||
| Pull Request: |
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
History
#1
Updated by Jonathan CLARKE about 1 year ago
Is this really the case on all platforms? I'm sure it's not, because I use that script often (on Debian Squeeze)
#2
Updated by Nicolas PERRON about 1 year ago
- 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.
#3
Updated by Nicolas PERRON about 1 year ago
- Status changed from New to Pending technical review
- % Done changed from 0 to 100
Applied in changeset 83f4e305abf073a1b59014df58e43edcb955cda1.
#4
Updated by Nicolas PERRON about 1 year ago
This instruction in SPEC file doesn't set files mode but directories:
%defattr(-, root, root, 0755)
#5
Updated by Jonathan CLARKE about 1 year ago
- Status changed from Pending technical review to Released
Looks good to me
#6
Updated by Nicolas PERRON 3 months ago
- Project changed from Rudder to packages
- Category deleted (
11)