tools:bash:users-permissions
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
tools:bash:users-permissions [2024/05/19 21:47] – created - external edit 127.0.0.1 | tools:bash:users-permissions [2024/10/17 05:32] (current) – [Sticky Bits] Humphrey Boa-Gart | ||
---|---|---|---|
Line 104: | Line 104: | ||
Set default permissions to 600 on new files and 700 on new directories: | Set default permissions to 600 on new files and 700 on new directories: | ||
- | $ umask 0027 | + | $ umask 0077 |
==== chmod ==== | ==== chmod ==== | ||
Line 165: | Line 165: | ||
* **6** (The SUID and SGID bits are set) | * **6** (The SUID and SGID bits are set) | ||
* **7** (All three bits are set) | * **7** (All three bits are set) | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | {{wst> | ||
+ |
tools/bash/users-permissions.1716155256.txt.gz · Last modified: (external edit)
Find this page online at: https://bestpoint.institute/tools/bash/users-permissions
Find this page online at: https://bestpoint.institute/tools/bash/users-permissions