commit: 488a692b45d1279f0c8955965d809621bf4388b5
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 19:54:11 2016 +0000
URL:
https://gitweb.gentoo.org/proj/eselect-python.git/commit/?id=488a692b
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 ee79262..c222460 100644
--- a/python.eselect.in
+++ b/python.eselect.in
@@ -327,6 +327,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
}