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


Changing the permission bits for a file

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

To change the permission bits for a file, use one of the following:
  • The ISPF shell
  • The chmod command. You can use it to change individual bits without affecting the other bits. You can also use the setfacl command to change permission bits (see Managing ACLs).
  • The chmod() callable service in a program. The callable service changes all permission bits to the values in the mode argument.

The file owner or a superuser can use the chmod command or chmod() callable service, or you can define a profile in the UNIXPRIV class to grant RACF® authorization. The file mode creation mask does not affect the permission value that was specified by either chmod or chmod().

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014