If a
file is readable and writable by the owner, a selected group of users, and everyone on the system, its octal
permission is 666. The umask command is followed with a number that is subtracted from 777 on directories, and from 666 on
files. The result gives the
default protection for new directories and
files.
read more >>