128k views
0 votes
The listing of a directory shows certain files with permissions set to rwsr-xr-x. what does this indicate?

User Xangr
by
8.2k points

1 Answer

5 votes
"rws" means that the user has permissions to read, write and setuid. "r" means the user can read the file and "w" means that the user can write to the file. "s" stands for "setuid" (set user id) is a permission bit that allows the users to execute a program with the permissions of its owner. The "s" can also mean "setgid" (set group id) is a bit that allows the user to execute a program with the permissions of the group owner.
User Adam Cadien
by
7.7k points