FS#24773 - [grml-zsh-config] Should at least warn about setting umask to 002

Attached to Project: Arch Linux
Opened by Nezmer (Nezmer) - Saturday, 18 June 2011, 19:49 GMT
Last edited by Pierre Schmitz (Pierre) - Sunday, 19 June 2011, 10:57 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Pierre Schmitz (Pierre)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

zshrc provided by the package sets umask to 002 for non root users. If It's preferred to leave the source as-is without patching, I think a warning should be added to post_install()

Additional info:
* package version(s)
grml-zsh-config 0.3.90-1

* config and/or log files etc.
From /etc/zsh/zshrc:
(( EUID != 0 )) && umask 002 || umask 022

Steps to reproduce:
This task depends upon

Closed by  Pierre Schmitz (Pierre)
Sunday, 19 June 2011, 10:57 GMT
Reason for closing:  Fixed
Comment by Pierre Schmitz (Pierre) - Sunday, 19 June 2011, 10:57 GMT
Right, overriding the umask is not sane here. I have applied this patch from upstream: http://git.grml.org/?p=grml-etc-core.git;a=commitdiff;h=cbbf17b3f869d4c25ca45f48ca5ee336687cafd8

Loading...