diff options
author | Michał Górny <mgorny@gentoo.org> | 2016-02-04 23:02:39 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2016-02-05 21:36:30 +0100 |
commit | 808be74d51901c942fce1ddd0bb69d910b2a5d9c (patch) | |
tree | 41425170aefd02b4702c808c25241258eaa7772b | |
parent | Rewrite to use python-exec.conf, and cleanup (diff) | |
download | eselect-python-808be74d51901c942fce1ddd0bb69d910b2a5d9c.tar.gz eselect-python-808be74d51901c942fce1ddd0bb69d910b2a5d9c.tar.bz2 eselect-python-808be74d51901c942fce1ddd0bb69d910b2a5d9c.zip |
Set open enough umask before writing updates
-rw-r--r-- | python.eselect.in | 1 |
1 files changed, 1 insertions, 0 deletions
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 } |