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.

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

/tmp> pax - T -vf asciitagged.pax<br />

m ISO8859-1 T=off -rw-r--r-- 1 SteveS Kings 9 Apr 30 22:31 text_am<br />

t ISO8859-1 T=on -rw r--r-- 1 SteveS Kings 9 Apr 30 22:31 text_at<br />

- untagged T=off -rw-r--r-- 1 SteveS Kings 9 Apr 30 22:06 text_au<br />

–p string<br />

Specifies which file characteristics to restore. By default, pax will only<br />

restore the access time (if it is stored in the archive) and modification time<br />

of each component file, and the access permissions (mode) as modified by<br />

the current umask, that is, they will only be restored entirely when the<br />

umask is 000. Currently only pax format archives are capable of storing the<br />

access time. Other archive formats use the modification time as the access<br />

time. To store the access time in a pax format archive the user must specify<br />

-o times when the archive is created or the user can manually specify a<br />

value for a common access time for all the files in the archive with the -o<br />

option used with the atime keyword on archive creation or extraction. The<br />

file tag information, external links, and links whose target exceed 100<br />

characters are also restored by default. Only file attributes that are available<br />

in the archive being read can be restored. See the -x option, the -o<br />

saveext|noext option, and the file format descriptions in Appendix H to<br />

understand the limitations of the archive formats. string can consist of any<br />

combination of the following characters:<br />

A Restores ACL data.<br />

a Does not preserve file access times.<br />

e Preserves the user ID, group ID, file mode, access time,<br />

modification time, extended attributes, and ACL entries. Prior to<br />

z/<strong>OS</strong> 1.8, audit flags and file format (line end) attributes were not<br />

restored because they are not available in any archive format. The<br />

extended attributes are the apsl flags that are set by the extattr<br />

command. Starting in z/<strong>OS</strong> 1.8, a pax format archive can be used<br />

to store the audit flags and file format, and -p e will restore them<br />

when available.<br />

m Does not preserve file modification times.<br />

o Preserves the user ID and group ID.<br />

p Preserves the file mode: access permissions (without modification<br />

by umask), set-user-ID bit, set-group-ID bit, and sticky bit.<br />

pax restores access permissions by default. If _<strong>UNIX</strong>03=YES<br />

extracted files will have permissions of 0666 (modified by umask)<br />

unless -p p or -p e are used.<br />

W Preserve user-requested audit attributes and auditor-requested<br />

audit attributes and the file format . The invoking user id must have<br />

the AUDITOR attribute set in the system security product to<br />

successfully set auditor-requested audit attributes.<br />

x Preserves extended attributes. The extended attributes are the apsl<br />

flags that are set by the extattr command.<br />

If neither the e nor the o specification character is specified, or the user ID<br />

and group ID are not preserved for any reason, pax shall not set the<br />

set-user-ID and set-group-ID bits of the file mode.<br />

–q For read mode only, pax assumes that all created files are text files and<br />

extracts them to the local text file format. On systems with fixed length<br />

records, this might mean appending blanks as padding.<br />

pax<br />

Chapter 2. Shell command descriptions 485

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

Saved successfully!

Ooh no, something went wrong!