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

From WhyAskWhy.org Wiki
Jump to: navigation, search
m (Added another reference link for future summation/inclusion)
m (Added more links to review/study)
Line 17: Line 17:
  
 
* https://help.ubuntu.com/community/FilePermissionsACLs
 
* https://help.ubuntu.com/community/FilePermissionsACLs
 +
* http://brunogirin.blogspot.com/2010/03/shared-folders-in-ubuntu-with-setgid.html
 +
* http://linuxgazette.net/152/prestia.html
 +
* http://serverfault.com/questions/tagged/setfacl
 +
* http://www2.linux-training.be/funhtml/ch12s09.html
 +
* http://serverfault.com/questions/2736/how-does-one-get-setfacl-to-set-acl-permissions-recursively-on-linux?rq=1
 +
* http://serverfault.com/questions/96514/how-to-set-linux-default-acls-differently-for-directories-and-files?rq=1
 +
* http://serverfault.com/questions/444867/linux-setfacl-set-all-current-future-files-directories-in-parent-directory-to
 +
* http://www.udel.edu/it/help/unix/groupsharing.html
 +
* http://www.computerhope.com/unix/usetfacl.htm
 +
* http://kmaiti.blogspot.com/2011/09/acl-and-mask-in-linux.html
 +
 +
 
* https://docs.google.com/document/d/1-US07DZV7eoam1P8ZrTM7UgZF5DQs0Q8NNBAXVAem_Y/edit
 
* https://docs.google.com/document/d/1-US07DZV7eoam1P8ZrTM7UgZF5DQs0Q8NNBAXVAem_Y/edit
  
Line 31: Line 43:
 
* http://www.linuxfromscratch.org/blfs/view/6.3/postlfs/profile.html
 
* http://www.linuxfromscratch.org/blfs/view/6.3/postlfs/profile.html
 
* http://linux-pam.org/Linux-PAM-html/sag-pam_umask.html
 
* http://linux-pam.org/Linux-PAM-html/sag-pam_umask.html
 +
* https://docs.oracle.com/cd/E19683-01/806-4078/secfiles-62/index.html
 +
* http://superuser.com/questions/612771/how-to-set-umask-for-a-folder-and-its-subfolder
  
 
=== chmod, chown and sticky bits ===
 
=== chmod, chown and sticky bits ===
Line 42: Line 56:
 
* http://docs.oracle.com/cd/E19683-01/806-4078/secfiles-69/index.html
 
* http://docs.oracle.com/cd/E19683-01/806-4078/secfiles-69/index.html
 
* 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
 +
* http://en.wikipedia.org/wiki/Sticky_bit#Usage
 +
* http://askubuntu.com/questions/51951/set-default-group-for-user-when-they-create-new-files
 +
* http://dsl.org/cookbook/cookbook_9.html
 +
 +
  
 
=== General permissions ===
 
=== General permissions ===
Line 47: Line 66:
 
* 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
 
* https://help.ubuntu.com/community/FilePermissions
 
* https://help.ubuntu.com/community/FilePermissions
 +
* meinit.nl/linux-permission-numberic-table
  
 
---
 
---

Revision as of 16:40, 26 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