sudo default umask 006

https://forums.whonix.org/t/change-default-umask/7416/43
This commit is contained in:
Patrick Schleizer 2019-08-16 11:15:25 -04:00
parent 17cfcb63b6
commit 224f95799c
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48
2 changed files with 6 additions and 0 deletions

1
debian/control vendored
View File

@ -149,6 +149,7 @@ Description: enhances misc security settings
to read and write to newly created files.
/etc/login.defs.security-misc
/usr/share/pam-configs/usergroups-security-misc
/etc/sudoers.d/umask-security-misc
.
* Enables pam_umask.so usergroups so group permissions are same as user
permissions. Debian by default uses User Private Groups (UPG).

View File

@ -0,0 +1,5 @@
## Copyright (C) 2019 - 2019 ENCRYPTED SUPPORT LP <adrelanos@riseup.net>
## See the file COPYING for copying conditions.
Defaults umask = 006
Defaults umask_override