01.01.2013 Views

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ADMIN(l) ADMIN(l)<br />

Note that use of this keyletter on a truly<br />

corrupted file may prevent future detection<br />

of the corruption.<br />

Fll.ES<br />

The last component of all sees file names must be of the form<br />

s.file-name. New sees files are given mode 444 (see chmod(l)).<br />

Write permission in the pertinent directory is, of course, required<br />

to create a file. All writing done by admin is to a temporary xfile,<br />

called x.file-name, (see get(!)), created with mode 444 if the<br />

admin command is creating a new sees file, or with the same<br />

mode as the sees file if it exists. After successful execution of<br />

admin, the sees file is removed (if it exists), and the x-file is<br />

renamed with the name of the sees file. This ensures that<br />

changes are made to the sees file only if no errors occurred.<br />

It is recommended that directories containing sees files be mode<br />

755 and that sees files themselves be mode 444. The mode of the<br />

directories allows only the owner to modify sees files contained in<br />

the directories. The mode of the sees files prevents any<br />

modification at all except by sees commands.<br />

If it should be necessary to patch an sees file for any reason, the<br />

mode may be changed to 644 by the owner allowing use of ed(l).<br />

Care must be taken! The edited file should always be processed by<br />

an admin -h to check for corruption followed by an admin -z<br />

to generate a proper check-sum. Another admin -h is recommended<br />

to ensure the sees file is valid.<br />

Admin also makes use of a transient lock file (called z.file-name ),<br />

which is used to prevent simultaneous updates to the sees file by<br />

different users. See get(l) for further information.<br />

SEE ALSO<br />

delta( I), ed(l), get( I), help( I), prs(l), what( I), sccsfile( 4).<br />

Source Code Control <strong>System</strong> User's Guide in the UNIX <strong>System</strong><br />

Us er's Guide .<br />

DIAGNOSTICS<br />

Use help(!) for explanations.<br />

- 5-

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

Saved successfully!

Ooh no, something went wrong!