16

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

1 Answers1

17

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

So:

chmod 0755 <file>
Kyle Brandt
  • 85,693
LapTop006
  • 6,526