Thomas Bächler wrote: > Oleg Nitz schrieb: >>>> To achieve this I've changed UMASK from 022 to 077 in /etc/login.defs >>> That will lead to fatal breakage for many people. >> This will affect new installations only. > > login.defs will be overwritten on updates for everyone who didn't change > it him/herself. Is this how pacman handles unmodified config files listed in "backup" array in PKGBUILD? The documentation isn't clear enough on this. I looked at http://www.archlinux.org/pacman/PKGBUILD.5.html and http://www.archlinux.org/pacman.man.html (HANDLING CONFIG FILES), but the case "original=X, current=X, new=Y" isn't described there. Anyway, this issue can be solved via shadow.install script. Rename login.defs to login.defs.new in the package tarball and rename it back to login.defs during installation only if /etc/login.defs doesn't exist.
>>> I think your defaults are rather insane, I don't think we should change >>> them globally. >> At least make adduser not to change permissions set by useradd. That is >> really insane. > > Okay, that makes sense, could you post the flyspray link to your feature > request? I've splitted my issue into the bug report http://bugs.archlinux.org/task/8050 and the feature request http://bugs.archlinux.org/task/8051 _______________________________________________ arch mailing list arch@archlinux.org http://archlinux.org/mailman/listinfo/arch