Project

General

Profile

Actions

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.

Status:
Released
Priority:
N/A
Assignee:
Nicolas PERRON
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

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

Actions #1

Updated by Jonathan CLARKE over 12 years ago

Is this really the case on all platforms? I'm sure it's not, because I use that script often (on Debian Squeeze)

Actions #2

Updated by Nicolas PERRON over 12 years 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.

Actions #3

Updated by Nicolas PERRON over 12 years ago

  • Status changed from New to Pending technical review
  • % Done changed from 0 to 100

Applied in changeset commit:83f4e305abf073a1b59014df58e43edcb955cda1.

Actions #4

Updated by Nicolas PERRON over 12 years ago

This instruction in SPEC file doesn't set files mode but directories:

%defattr(-, root, root, 0755)

Actions #5

Updated by Jonathan CLARKE over 12 years ago

  • Status changed from Pending technical review to Released

Looks good to me

Actions #6

Updated by Nicolas PERRON almost 12 years ago

  • Project changed from Rudder to 34
  • Category deleted (11)
Actions #7

Updated by Benoît PECCATTE over 9 years ago

  • Project changed from 34 to Rudder
  • Category set to Packaging
Actions

Also available in: Atom PDF