UMASK(1CSH) COMMAND REFERENCE UMASK(1CSH)
NAME
umask - set user's file creation mask (csh built-in)
SYNOPSIS
umask [ nnn ]
DESCRIPTION
The user file creation mask is set to the octal value nnn.
If nnn is omitted, the current value of the mask is printed.
The mask is basically the complement of the file mode. The
bits set in the mask will not be set when a file is created
or in some types of mode changes (see umask(2) and
chmod(1)).
EXAMPLES
The following command sets the user's file creation mask to
002, which means that files are created with mode 664,
meaning the owner and owner's group have read and write
permission and others have only read permission.
umask 2
RETURN VALUE
[NO_ERRS] Command completed without error.
[1] An error of the type described in the message
occurred.
SEE ALSO
@(1csh), alias(1csh), bg(1csh), break(1csh), cd(1csh),
chdir(1csh), chmod(1), continue(1csh), csh(1csh),
dirs(1csh), echo(1csh), eval(1csh), exec(1csh), exit(1csh),
fg(1csh), glob(1csh), goto(1csh), hashstat(1csh),
history(1csh), jobs(1csh), kill(1csh), limit(1csh),
logout(1csh), nice(1csh), nohup(1csh), notify(1csh),
onintr(1csh), popd(1csh), pushd(1csh), rehash(1csh),
repeat(1csh), set(1csh), setenv(1csh), sh(1sh), shift(1csh),
source(1csh), stop(1csh), suspend(1csh), time(1csh),
umask(1sh), unhash(1csh), unalias(1csh), unlimit(1csh),
unset(1csh), unsetenv(1csh), wait(1csh), which(1csh), and
umask(2).
Printed 4/6/89 1
%%index%%
na:336,110;
sy:446,165;
de:611,491;
ex:1102,349;
rv:1451,274;
se:1725,1590;
%%index%%000000000109