rh124_advanced_permissions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
rh124_advanced_permissions [2026/10/28 09:45] – [The sticky bit (primarily for directories)] rpjdayrh124_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 ''sudo'' command.
  
 ===== Enterable but not readable directories ===== ===== Enterable but not readable directories =====
Line 8: Line 12:
 $ ls Poems $ ls Poems
 $ cat Poems/twister $ cat Poems/twister
 +$ chmod 755 Poems
 </code> </code>
  
Line 202: Line 207:
 $ chmod g+s <directory name> $ chmod g+s <directory name>
 </code> </code>
 +
 +**NOTE**: There is no value for the SUID bit on directories.
 ===== Ask Google ===== ===== Ask Google =====
  
  • rh124_advanced_permissions.1793180729.txt.gz
  • Last modified: 2026/10/28 09:45
  • by rpjday