commit: 59630bedc0360d027b9b7d45a097bd7326e90871
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: Thu Feb 4 22:02:39 2016 +0000
URL:
https://gitweb.gentoo.org/proj/eselect-python.git/commit/?id=59630bed
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 2680d69..2e857bd 100644
--- a/python.eselect.in
+++ b/python.eselect.in
@@ -322,6 +322,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
}