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.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

This is the set user or group Id on execution bit.  The file will run with the permissions of the owner or group.
... 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.
joolsSenior Systems AdministratorCommented:
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.

Become a CompTIA Certified Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

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


-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).


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
joolsSenior Systems AdministratorCommented:
Whats wrong with octal?? :-)

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

chmod 1777 /me :-)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.