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

Does anbody know what the s bit does in unix permissions?

This is just a For My Knowledge question. I see permissions in our unix environment that are set to :

rwxrwsr-w

I have found that the s stands for set user.

What does that mean?

Jim
0
scuzz1
Asked:
scuzz1
  • 2
1 Solution
 
ahoffmannCommented:
man chmod

the s-bit for groups on files changes the the group from the caller's group to the group assigned to the file when it is executed.
0
 
scuzz1Author Commented:
Thanks.

A couple of us was wondering and we could not find any text on it. Nothing very definitive. I know how to set it but never knew what it actually did.

Jim
0
 
ahoffmannCommented:
keep in mind that the s.bit for directories behaves different (for obvious reason:)
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.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

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