commit: 808be74d51901c942fce1ddd0bb69d910b2a5d9c
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 4 22:02:39 2016 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Feb 5 20:36:30 2016 +0000
URL:
https://gitweb.gentoo.org/proj/eselect-python.git/commit/?id=808be74d
Set open enough umask before writing updates
python.eselect.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/python.eselect.in b/python.eselect.in
index aa4eaa7..d84f1ef 100644
--- a/python.eselect.in
+++ b/python.eselect.in
@@ -336,6 +336,7 @@ do_set() {
# need to do this outta loop in case no pref matches
prefs=( "${prefs[@]:0:target_idx}" "${target}" "${prefs[@]:target_idx}"
)
+ umask 022
write_preferences "${prefs[@]}"
post_update
}