AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  group administrative in aix. different between false and true

    Posted Fri May 16, 2008 04:14 AM

    Originally posted by: apple08


    dear aix gurus,
    what is the different between administration group in aix. we have one user that have one primary group and a secondary group.

    1. id pkiwas
    uid=602(pkiwas) gid=400(wasgrp) groups=14(nfast)
    but the wasgrp, the group administrative is false and nfast is true. what is the impact when they create file. if we created a new file with this id, the group of the file always assigned to secondary group instead of primary group. is it because of the administrative group for primary is false and administrative for secondary group is true. hope to hear from you. thank you


  • 2.  Re: group administrative in aix. different between false and true

    Posted Fri May 16, 2008 10:47 AM

    Originally posted by: tony.evans


    I believe what you're seeing is the result of directory permissions. It's been a long time since I looked, but I believe the administrative flag doesn't affect which group is assigned to the files created, it's more likely the directory you're creating files in is owned by that group and has the SGID bit set. i.e. the directory permissions will have a capital S where the group x would usually be, like this

    drwxrwS--- 2 bob system 512 16 May 15:41 dirname

    Any file created in that directory will be owned by user:system


  • 3.  Re: group administrative in aix. different between false and true

    Posted Fri May 16, 2008 11:38 PM

    Originally posted by: apple08


    yesss, the folder got capital S. why got this S? can we change? hope to hear from you. thank you


  • 4.  Re: group administrative in aix. different between false and true

    Posted Mon May 19, 2008 06:52 AM

    Originally posted by: tony.evans


    man chmod