The iSeries Blog

Apr 3 2007   8:01AM GMT

Setting the SISGID permission bit ON

Brein Matturro Profile: Brein Matturro

I’ve always been unhappy with how the default owner of an object in the IFS is determined.

When a new object is created the ownership is, by default,  the creating user’s profile name.

When objects are shared amoung a group of profiles (Group Profile Membership), this can lead to problems, especially if someone in the group has to delete an object created by another group member.

I have learned that if a directory object has the S_ISGID permission bit set ON, then whenever a new object is created in that directory the owner of the object will be the same as the directory’s PRIMARY GROUP OWNER.

The S_ISGID permission bit can be set on a couple of different ways.

You can use the CHGATR command… For example:

 CHGATR OBJ('/PRDCIS/INBOUND') ATR(*SETGID) VALUE(*YES)

or, via the Properties/Security tab within iSeries Navigator:

propsecurity.jpg

Kenneth

 Comment on this Post

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: