Differences between revisions 19 and 20
Revision 19 as of 2013-05-21 12:15:44
Size: 2185
Editor: OsamuAoki
Comment:
Revision 20 as of 2020-02-04 03:47:25
Size: 2083
Editor: PaulWise
Comment: interwiki, mid macros
Deletions are marked like this. Additions are marked like this.
Line 13: Line 13:
The changes in DebPkg:base-files only took effect on freshly installed systems. An umask of {{{002}}} gives write permission to the other group members. By default, Debian uses “[[http://en.wikipedia.org/wiki/Filesystem_permissions#User_private_group|user private groups]]” (UPG). Under this scheme, each user has his own private group, that is not to be shared with any other user. The changes in DebPkg:base-files only took effect on freshly installed systems. An umask of {{{002}}} gives write permission to the other group members. By default, Debian uses “[[WikiPedia:Filesystem_permissions#User_private_group|user private groups]]” (UPG). Under this scheme, each user has his own private group, that is not to be shared with any other user.
Line 17: Line 17:
 * http://lists.debian.org/msgid-search/m0piQuw-0002dGC.ijackson@nyx.cs.du.edu (and other threads that month)
 * http://lists.debian.org/msgid-search/20000606124318.C31198@gerf.org
 * http://lists.debian.org/msgid-search/4BE830C8.5050009@gmail.com
 * <<mid(m0piQuw-0002dGC.ijackson@nyx.cs.du.edu)>> (and other threads that month)
 * <<mid(20000606124318.C31198@gerf.org)>>
 * <<mid(4BE830C8.5050009@gmail.com)>>
Line 33: Line 33:
 * The Debian Reference (UPG is documented [[http://www.debian.org/doc/manuals/debian-reference/ch01.en.html#_control_of_permissions_for_newly_created_files_umask|1.2.4. Control of permissions for newly created files: umask]] with tips to activate via {{{.bashrc}}})  * The Debian Reference (UPG is documented [[https://www.debian.org/doc/manuals/debian-reference/ch01.en.html#_control_of_permissions_for_newly_created_files_umask|1.2.4. Control of permissions for newly created files: umask]] with tips to activate via {{{.bashrc}}})

Translation(s): English - Italiano

umask in Debian

This is a draft page to keep track of the discussions the default umask value in Debian. umask is a program to set file permissions.

Default value

Umask was set to 022 by base-files until 5.4, where it was changed to 002. However, starting from base-files version 5.7, umask is set by pam_umask, which currently defaults again to 022.

The changes in base-files only took effect on freshly installed systems. An umask of 002 gives write permission to the other group members. By default, Debian uses “user private groups” (UPG). Under this scheme, each user has his own private group, that is not to be shared with any other user.

Discussions about its default value

Documentation to update

Issues with a value of 022

Issues with a value of 002

Others

There is a parallel discussion at Ubuntu: https://wiki.ubuntu.com/MultiUserManagement.