z/OS UNIX System Services Planning
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Steps for setting up the FILE.GROUPOWNER.SETGID profile

z/OS UNIX System Services Planning
GA32-0884-00

Perform the following steps to set up the FILE.GROUPOWNER.SETGID profile.

  1. Define the FILE.GROUPOWNER.SETGID profile.
    RDEFINE UNIXPRIV FILE.GROUPOWNER.SETGID

    _______________________________________________________________

  2. Activate the UNIXPRIV class, if it is not currently active at your installation.
    SETROPTS CLASSACT(UNIXPRIV)

    _______________________________________________________________

  3. Activate the SETROPTS RACLIST processing for the UNIXPRIV class, if it is not already active.
    SETROPTS RACLIST(UNIXPRIV) 
    If SETROPTS RACLIST processing is already in effect for the UNIXPRIV class, you must refresh SETROPTS RACLIST processing in order for the FILE.GROUPOWNER.SETGID profile to take effect.
     SETROPTS RACLIST(UNIXPRIV) REFRESH

    _______________________________________________________________

When you are done, you have set up the FILE.GROUPOWNER.SETGID profile. The set-gid bit for a directory determines how the group owner is initialized for new objects created within the directory.
  • If the set-gid bit is on, then the owning GID is set to that of the directory.
  • If the set-gid bit is off, then the owning GID is set to the effective GID of the process.

Tip: When a new file system is mounted, you must turn on the set-gid bit of its root directory if you want new objects within the file system to have their group owner set to that of the parent directory.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014