Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

2 Answers 2

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.