- 666 for files (that is rw-rw-rw-), and
- 777 for directories (that is rwxrwxrwx)
'umask' without any parameters displays the currently set umask. If you give a parameter, 'umask' will interpret it as a umaks and set it. Thus you can change your umask by putting something like 'umask 022' in your .profile.
Keine Kommentare:
Kommentar veröffentlichen