Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ umask(1SH) — UTek 3.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

break(1sh)

cd(1sh)

chdir(1sh)

chmod(1)

continue(1sh)

csh(1csh)

echo(1sh)

eval(1sh)

exec(1sh)

exit(1sh)

export(1sh)

hash(1sh)

login(1)

pwd(1sh)

read(1sh)

readonly(1sh)

return(1sh)

set(1sh)

sh(1sh)

shift(1sh)

test(1sh)

times(1sh)

trap(1sh)

type(1sh)

ulimit(1sh)

unset(1sh)

wait(1sh)

which(1sh)

chmod(2)

execve(2)

umask(2)



UMASK(1SH)              COMMAND REFERENCE              UMASK(1SH)



NAME
     umask - set user's file creation mask (sh 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.

CAVEATS
     Invalid arguments are not ignored or reported. For example,
     the command umask filename will cause the file creation mask
     to be set to 0.

SEE ALSO
     break(1sh), cd(1sh), chdir(1sh), chmod(1), continue(1sh),
     csh(1csh), echo(1sh), eval(1sh), exec(1sh), exit(1sh),
     export(1sh), hash(1sh), login(1), pwd(1sh), read(1sh),
     readonly(1sh), return(1sh), set(1sh), sh(1sh), shift(1sh),
     test(1sh), times(1sh), trap(1sh), type(1sh), ulimit(1sh),
     unset(1sh), wait(1sh), which(1sh), chmod(2), execve(2), and
     umask(2).
















Printed 5/12/88                                                 1





































































%%index%%
na:312,107;
sy:419,165;
de:584,491;
ex:1075,349;
rv:1424,177;
ca:1601,297;
se:1898,936;
%%index%%000000000121

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026