Change the file mode of the specified files as directed in the access-string.
Access-string can be a numeric file mode or one or more symbolic permission strings; symbolic permission strings have the general syntax:
where class is one or more access class code letters:
The second item is an operator:
Type is one or more access type code letters:
Special access types
Set execute access only if it has already been set for some access class.
t (save text mode/sticky bit) [numeric 1000]
When used for other access on a directory, restricts user file deletions to his own files.
s (SetUID and SetGID) [numeric 4000 and 2000]
When used with user and group access, causes a program to execute in the user/group context of the files’s owner(s), rather than the user who ran it. Both require the corresponding execute access to be on.
SetGID access on a directory causes new file group ownership to follow the directory’s group owner rather than the primary ...