Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux_wiki:list_set_and_change_standard_ugo_rwx_permissions [2016/02/28 22:59] billdozor [Change Permissions] |
linux_wiki:list_set_and_change_standard_ugo_rwx_permissions [2019/05/25 23:50] (current) |
||
---|---|---|---|
Line 3: | Line 3: | ||
**General Information** | **General Information** | ||
- | About this page/ | + | Ownership and permissions. |
---- | ---- | ||
Line 43: | Line 43: | ||
===== Change Permissions ===== | ===== Change Permissions ===== | ||
- | === Symbolic === | + | ==== Symbolic |
* u => user owner | * u => user owner | ||
Line 67: | Line 67: | ||
* For user owner and group => Adds execute to dir1 and all sub directories, | * For user owner and group => Adds execute to dir1 and all sub directories, | ||
- | === Octal === | + | ---- |
+ | |||
+ | ==== Octal ==== | ||
* 4 => read | * 4 => read | ||
Line 95: | Line 97: | ||
</ | </ | ||
+ | \\ | ||
Same scenario, octal mode | Same scenario, octal mode | ||
<code bash> | <code bash> | ||
Line 123: | Line 126: | ||
* Others => 2 (mask write permissions) | * Others => 2 (mask write permissions) | ||
+ | \\ | ||
The above yields a file with the following permissions by default: | The above yields a file with the following permissions by default: | ||
<code bash> | <code bash> | ||
Line 128: | Line 132: | ||
</ | </ | ||
+ | \\ | ||
Temporarily change the default for this session only | Temporarily change the default for this session only | ||
<code bash> | <code bash> | ||
Line 138: | Line 143: | ||
</ | </ | ||
+ | \\ | ||
Permanent umask changes (system wide) | Permanent umask changes (system wide) | ||
<code bash> | <code bash> |