How do I set default permissions in Linux?

How do I set default permissions in Linux?
Answer
To change the default permissions that are set when you create a file or directory within a session or with a script,
use the umask command. The syntax is similar to that of chmod (above), but use the = operator to set the default permissions.
 

Tìm kiếm

Back
Top