What is S in LS output?

Giao Linh

New member
What is S in LS output?
Answer
On Linux, look up the Info documentation ( info ls ) or online. The letter s denotes that the setuid (or setgid, depending on the column) bit is set. When an executable is setuid, it runs as the user who owns the executable file instead of the user who invoked the program. The letter s replaces the letter x .
 

Tìm kiếm

Back
Top