Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| rh124_advanced_permissions [2026/10/28 09:45] – [The sticky bit (primarily for directories)] rpjday | rh124_advanced_permissions [2026/10/28 14:01] (current) – [SGID bit for directories] rpjday | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== RH124 Advanced Permissions ====== | ====== RH124 Advanced Permissions ====== | ||
| + | |||
| + | ===== NOTE ===== | ||
| + | |||
| + | If you're running these commands as a non-root user, do not use the '' | ||
| ===== Enterable but not readable directories ===== | ===== Enterable but not readable directories ===== | ||
| Line 8: | Line 12: | ||
| $ ls Poems | $ ls Poems | ||
| $ cat Poems/ | $ cat Poems/ | ||
| + | $ chmod 755 Poems | ||
| </ | </ | ||
| Line 202: | Line 207: | ||
| $ chmod g+s < | $ chmod g+s < | ||
| </ | </ | ||
| + | |||
| + | **NOTE**: There is no value for the SUID bit on directories. | ||
| ===== Ask Google ===== | ===== Ask Google ===== | ||