• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 982
  • Last Modified:

What is a file permission os "s" on an aix file?

We have discovred some files on our aix system that have a file permission of "S: on them. What does this signify? I am not familiar with that status.
0
grandhf
Asked:
grandhf
6 Solutions
 
dathhoCommented:
This is the set user or group Id on execution bit.  The file will run with the permissions of the owner or group.
0
 
woolmilkporcCommented:
... and if it's a capitalized S the set user or group Id on execution bit is on, as dathho wrote, but the execution bit iself is off.
 
wmp
 
0
 
joolsCommented:
If you have the man pages installed (I dont think they are as a default install on AIX) you can check the man pages for chmod for more info.

http://publib.boulder.ibm.com/infocenter/systems/index.jsp?topic=/com.ibm.aix.cmds/doc/aixcmds1/chmod.htm
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
woolmilkporcCommented:
Hi,
it's strange enough, but the man page for chmod doesn't mention the uppercase 'S'!

wmp


0
 
wburbidgeCommented:
-rwxr-S--- SGID is set, but group execute is not set

SGID or setgid: change group ID on execution. inherits rights of the group of the owner of the file on execution. For directories it also may mean that when a new file is created in the directory it will inherit the group of the directory (and not of the user who created the file).

0
 
joolsCommented:
Whats wrong with octal?? :-)

4000 Sets user ID on execution.
2000 Sets group ID on execution.

chmod 1777 /me :-)
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now