summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2014-03-23 05:57:39 -0300
committerJason A. Donenfeld <Jason@zx2c4.com>2014-03-23 05:57:39 -0300
commit1476be164b8eadb258301015b6fd21dcb64118c0 (patch)
treef513857dba7ae38f17aec89f3bed9fb33e3195bc /src
parent6fb1b95c6357a23a855cfb26f09c836df55f8dd6 (diff)
downloadpass-1476be164b8eadb258301015b6fd21dcb64118c0.tar.gz
pass-1476be164b8eadb258301015b6fd21dcb64118c0.tar.bz2
pass-1476be164b8eadb258301015b6fd21dcb64118c0.zip
umask: allow overridable
Suggested-by: Matthew Richardson <m.richardson@ed.ac.uk>
Diffstat (limited to '')
-rwxr-xr-xsrc/password-store.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/password-store.sh b/src/password-store.sh
index f2ec8ec..e9a3c39 100755
--- a/src/password-store.sh
+++ b/src/password-store.sh
@@ -3,7 +3,7 @@
# Copyright (C) 2012 - 2014 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
# This file is licensed under the GPLv2+. Please see COPYING for more information.
-umask 077
+umask "${PASSWORD_STORE_UMASK:-077}"
GPG_OPTS="--quiet --yes --compress-algo=none"
GPG="gpg"