suid
Another feature of Unix-style file permissions are the suid (Set UserID) and sgid (Set GroupID)bits.
These allow the program to be run as the user (or group), which owns the file, not necessarily the
user (or group) running the program. This is shown as an s instead of an x in the rwx style of displaying file permissions. You can test for these using the -g and -u flags respectively.
These allow the program to be run as the user (or group), which owns the file, not necessarily the
user (or group) running the program. This is shown as an s instead of an x in the rwx style of displaying file permissions. You can test for these using the -g and -u flags respectively.
Comments
Post a Comment