commit:     366064aa7478a3f8bee31d37e8b1076649264455
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 27 19:25:39 2016 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed Jan 27 19:25:39 2016 +0000
URL:        https://gitweb.gentoo.org/proj/eselect.git/commit/?id=366064aa

Set umask.

* bin/eselect.in: Set umask +rx, bug 572348.

 ChangeLog      | 4 ++++
 bin/eselect.in | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index ac3b25a..5bb2855 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-01-27  Ulrich Müller  <[email protected]>
+
+       * bin/eselect.in: Set umask +rx, bug 572348.
+
 2015-08-26  Ulrich Müller  <[email protected]>
 
        * 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

Reply via email to