15

What are the correct permissions for /etc/init.d/ scripts and what chmod options sets them?

davidmytton
  • 656
  • 3
  • 7
  • 17

1 Answers1

17

The common set is simply 755 even though only root should be running them.

So:

chmod 0755 <file>
Kyle Brandt
  • 81,077
  • 70
  • 299
  • 442
LapTop006
  • 6,446
  • 18
  • 26