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
  • 83,619
  • 74
  • 305
  • 448
LapTop006
  • 6,496
  • 20
  • 26