fredag den 2. oktober 2009

Debian : Set default permission for a new file

For all users except root:
change etc/profile
umask 022 (is the default value)

For root:
change /root/.bashrc
umask 022 (is the default value)

eks. umask 022 will give following permission : rw- r-- r--

umask 002 will give following permission : rw- rw- ---

Ingen kommentarer:

Send en kommentar