16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

chown<br />

Localization<br />

Exit Values<br />

Message<br />

Portability<br />

chown uses the following localization environment variables:<br />

v LANG<br />

v LC_ALL<br />

v LC_CTYPE<br />

v LC_MESSAGES<br />

v NLSPATH<br />

See Appendix F for more information.<br />

0 You specified –f, or chown successfully changed the ownership of all the<br />

specified files and directories.<br />

1 Failure due to any of the following:<br />

v Inability to access a specified file.<br />

v Inability to change the owner of a specified file.<br />

v Inability to read the directory containing the directory entry of the file.<br />

v An irrecoverable error was encountered when using the –R option.<br />

2 Failure due to any of the following:<br />

v The command line contained an incorrect option.<br />

v The command line had too few arguments.<br />

v An owner was specified with a user ID that the system did not recognize.<br />

function not implemented<br />

This error may occur if the directory is under automount control.<br />

P<strong>OS</strong>IX.2, <strong>UNIX</strong> systems.<br />

Related Information<br />

chgrp, chmod<br />

The –f and –h options are an extension of the P<strong>OS</strong>IX standard.<br />

chroot — Change the root directory for the execution of a command<br />

Format<br />

Description<br />

chroot directory command<br />

If you have appropriate privileges, the chroot command changes the root directory<br />

to the directory specified by the directory parameter of a specific command. The<br />

new root directory will also contain its children.<br />

Rule: In order to use chroot, you must either be a superuser (UID=0), or have<br />

READ permission to the BPX.SUPERUSER resource profile in the FACILITY class.<br />

130 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!