Differences between revisions 12 and 13
Revision 12 as of 2010-05-26 23:45:29
Size: 1513
Comment: Added a link to https://wiki.ubuntu.com/MultiUserManagement.
Revision 13 as of 2011-01-01 17:29:28
Size: 1732
Comment: Umask is 022 again.
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
{{{022}}} until DebPkg:base-files 5.4, and {{{002}}} after. This change takes effect only on freshly installed systems. It 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. Umask was set to {{{022}}} by DebPkg: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 DebPkg:base-files only took effect on freshly installed systems. An umask of {{{022}}} 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.
Line 15: Line 17:
== Related bugs == == Related bugs (incomplete list) ==

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 022 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.