16

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

davidmytton
  • 666
  • 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
  • 82,107
  • 71
  • 302
  • 444
LapTop006
  • 6,466
  • 19
  • 26