Difference between revisions of "GNU Linux/Permissions/POSIX ACLs"

From WhyAskWhy.org Wiki
Jump to: navigation, search
(Stub page.)
 
m (Replaced Redmine Textile syntax)
Line 3: Line 3:
 
[[Category:NeedsCleanup]]
 
[[Category:NeedsCleanup]]
  
{{WorkInProgress}}
 
  
 
== Summary ==
 
== Summary ==
Line 33: Line 32:
 
* http://linux-pam.org/Linux-PAM-html/sag-pam_umask.html
 
* http://linux-pam.org/Linux-PAM-html/sag-pam_umask.html
  
h5. chmod, chown and sticky bits
+
=== chmod, chown and sticky bits ===
  
 
* http://www.linuxnix.com/2012/01/sticky-bit-set-linux.html
 
* http://www.linuxnix.com/2012/01/sticky-bit-set-linux.html
Line 44: Line 43:
 
* http://stackoverflow.com/questions/3740152/how-to-set-chmod-for-a-folder-and-all-of-its-subfolders-and-files-in-linux-ubunt#comment26388651_14634721
 
* http://stackoverflow.com/questions/3740152/how-to-set-chmod-for-a-folder-and-all-of-its-subfolders-and-files-in-linux-ubunt#comment26388651_14634721
  
h5. General permissions
+
=== General permissions ===
  
 
* http://www.firewall.cx/linux-knowledgebase-tutorials/introduction-to-linux/299-linux-file-folder-permissions.html
 
* http://www.firewall.cx/linux-knowledgebase-tutorials/introduction-to-linux/299-linux-file-folder-permissions.html
Line 54: Line 53:
 
Explain stuff like:
 
Explain stuff like:
  
* @chmod 2755@
+
* <code>chmod 2755</code>
* @setfacl -d -m group:rwx /path/to/your/dir@
+
* <code>setfacl -d -m group:rwx /path/to/your/dir</code>

Revision as of 21:22, 25 February 2015


Summary

This page will record my efforts to learn how to use POSIX ACLs. I'm familiar with ACLs used on Windows systems and to a lesser extent Mac OS X (GUI-only), but this is my first foray into POSIX ACLs.

TODO

  • Move general permissions info (references, notes, etc) to another page

References

ACLs

umask

chmod, chown and sticky bits

General permissions

---

Goals:

Explain stuff like:

  • chmod 2755
  • setfacl -d -m group:rwx /path/to/your/dir