aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2016-01-27 20:25:39 +0100
committerUlrich Müller <ulm@gentoo.org>2016-01-27 20:25:39 +0100
commit366064aa7478a3f8bee31d37e8b1076649264455 (patch)
tree21719db67aa25133a66cfdfeaef7633a20fa8e70
parentUse sentence case in documentation. (diff)
downloadeselect-366064aa7478a3f8bee31d37e8b1076649264455.tar.gz
eselect-366064aa7478a3f8bee31d37e8b1076649264455.tar.bz2
eselect-366064aa7478a3f8bee31d37e8b1076649264455.zip
Set umask.
* bin/eselect.in: Set umask +rx, bug 572348.
-rw-r--r--ChangeLog4
-rwxr-xr-xbin/eselect.in2
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ac3b25a..5bb2855 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-01-27 Ulrich Müller <ulm@gentoo.org>
+
+ * bin/eselect.in: Set umask +rx, bug 572348.
+
2015-08-26 Ulrich Müller <ulm@gentoo.org>
* doc/developer-guide.txt:
diff --git a/bin/eselect.in b/bin/eselect.in
index 934a10a..c446d46 100755
--- a/bin/eselect.in
+++ b/bin/eselect.in
@@ -55,6 +55,8 @@ IFS=$' \t\n'
shopt -s extglob
shopt -s expand_aliases
+umask +rx
+
# Save stderr file descriptor
if (( BASH_VERSINFO[0] == 4 && BASH_VERSINFO[1] >= 1 || BASH_VERSINFO[0] > 4 ))
then