Tag Archives: permission

Use Umask to Set Default Permissions

A simple way to determine the value of user default permission when user creates files or dirs is simply to subtract the value of umask from the system default permission values: $umask // will give you the permission. Files: 666 … Continue reading

Posted in Coding | Tagged , , , | Leave a comment

File Permissions

$ls -l //this is a list command with the -l option list the files information in long mode permissions -rw-rw-r– this information devided into four parts – = File type. Most common file types are – A normal file. d … Continue reading

Posted in Coding | Tagged , , , | Leave a comment