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.
grandhfAsked:
Who is Participating?
 
wburbidgeConnect With a Mentor Commented:
-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
 
dathhoConnect With a Mentor Commented:
This is the set user or group Id on execution bit.  The file will run with the permissions of the owner or group.
0
 
woolmilkporcConnect With a Mentor Commented:
... 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
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
joolsConnect With a Mentor Commented:
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
 
woolmilkporcConnect With a Mentor Commented:
Hi,
it's strange enough, but the man page for chmod doesn't mention the uppercase 'S'!

wmp


0
 
joolsConnect With a Mentor Commented:
Whats wrong with octal?? :-)

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

chmod 1777 /me :-)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.