Understand Linux File Permissions on Linux
The permissions associated with a file are assigned to owners, groups and everyone else on your Linux computer.
- If first character is not a dask (-), it’s not a regular file, it can be a directory for a file linked to another.
- The remaining characters devided into 3 groups, ower is rw- (Read, Write) , group r– (only Read), everyone r– (Only Read).
- We can change permission by chmod command.
- When we create a new file or directory , permissions we get by default is depend on umask.
- First character is umask is unused. So umask is 022.
- umask 022 means default permission is 644 (rw-r–r–) for all new files and directories.
1. Understand Linux File Permissions
2. Modify permission on Linux
Thanks for using IThelpblog.com.