Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I run
ll /usr/bin/crontab

it gives me this output:
-rwsr-sr-x 1 root root 315432 Nov 10 2007 /usr/bin/crontab

What does 's' means in the permission mask?

Why do they need to use that?

Thanks, Dan

share|improve this question

The s means setuid (or setgid). In this case the crontab program will run with root permissions (because root is the owner) when ran by other users.

share|improve this answer

These are permissions as listed with the ls command.

r=read

w=write

x=executeable

s=setuid

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.