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

From WhyAskWhy.org Wiki
Jump to: navigation, search
m (Added more links to review/study)
m (Moved general permissions references to separate page.)
Line 10: Line 10:
 
== TODO ==
 
== TODO ==
  
* Move general permissions info (references, notes, etc) to another page
+
Explain this:
 +
 
 +
* <code>setfacl -d -m group:rwx /path/to/your/dir</code>
  
 
== References ==
 
== References ==
Line 30: Line 32:
  
 
* https://docs.google.com/document/d/1-US07DZV7eoam1P8ZrTM7UgZF5DQs0Q8NNBAXVAem_Y/edit
 
* https://docs.google.com/document/d/1-US07DZV7eoam1P8ZrTM7UgZF5DQs0Q8NNBAXVAem_Y/edit
 
=== umask ===
 
 
* http://askubuntu.com/questions/44534/how-to-set-umask-for-a-specific-folder
 
* http://superuser.com/questions/612771/how-to-set-umask-for-a-folder-and-its-subfolder
 
 
* http://www.cyberciti.biz/tips/understanding-linux-unix-umask-value-usage.html
 
* http://unix.stackexchange.com/questions/36220/how-to-set-umask-for-a-system-user
 
* http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_03_01.html
 
* http://bencane.com/2013/09/16/understanding-a-little-more-about-etcprofile-and-etcbashrc/
 
* http://stackoverflow.com/questions/10220531/how-to-set-system-wide-umask
 
* http://www.linuxfromscratch.org/blfs/view/6.3/postlfs/profile.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 ===
 
 
* http://www.linuxnix.com/2012/01/sticky-bit-set-linux.html
 
* http://www.linuxnix.com/2011/10/chmod-command-explained-linuxunix.html
 
* http://en.wikipedia.org/wiki/File_system_permissions#Changing_permission_behavior_with_setuid.2C_setgid.2C_and_sticky_bits
 
* http://forums.oscommerce.com/topic/352153-is-chmod-2775-secure/
 
* http://meinit.nl/linux-permission-numberic-table
 
* http://www.thegeekstuff.com/2011/02/sticky-bit-on-directory-file/
 
* 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://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 ===
 
 
* http://www.firewall.cx/linux-knowledgebase-tutorials/introduction-to-linux/299-linux-file-folder-permissions.html
 
* https://help.ubuntu.com/community/FilePermissions
 
* meinit.nl/linux-permission-numberic-table
 
 
---
 
 
Goals:
 
 
Explain stuff like:
 
 
* <code>chmod 2755</code>
 
* <code>setfacl -d -m group:rwx /path/to/your/dir</code>
 

Revision as of 18:07, 26 February 2015