Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938572 - app-shells/zsh-5.9-r6 avoid setting "umask" in default /etc/zsh/zprofile
Summary: app-shells/zsh-5.9-r6 avoid setting "umask" in default /etc/zsh/zprofile
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-27 21:55 UTC by Esteve Varela Colominas
Modified: 2024-08-28 14:47 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Esteve Varela Colominas 2024-08-27 21:55:58 UTC
umask is usually handled by /etc/login.defs and pam_umask.so. Since bash isn't setting the umask value in /etc/bash/bashrc (or any of the other umasks scripts), it's rather easy to set the umask value through one of these previous mechanisms, but forget about zsh.
I think it's sensible to remove it from the zsh scripts.