Difference between revisions of "GNU Linux/Permissions"

From WhyAskWhy.org Wiki
Jump to: navigation, search
(Stub page)
 
m (Proved examples of operations that I should explain in detail.)
 
(3 intermediate revisions by the same user not shown)
Line 5: Line 5:
  
 
Stub page
 
Stub page
 +
 +
== Goals ==
 +
 +
Explain what is happening:
 +
 +
* <code>chmod 2755</code>
 +
* <code>chmod g+ws /var/www/html</code>
 +
* <code>chmod g+X /var/www/html</code>
  
 
== Subpages ==
 
== Subpages ==
  
{{Special:PrefixIndex/GNU_Linux/}}
+
{{Special:PrefixIndex/GNU_Linux/Permissions/}}
 +
 
 +
 
 +
=== 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

Latest revision as of 18:09, 26 February 2015


Stub page

Goals

Explain what is happening:

  • chmod 2755
  • chmod g+ws /var/www/html
  • chmod g+X /var/www/html

Subpages


umask

chmod, chown and sticky bits


General permissions