From be9755bbcaf784387e7e300a7cd5fef53a30bb8b Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Thu, 18 Aug 2011 19:26:48 -0400 Subject: gpg --lock-never since encfs doesn't support locking --- bin/gpg-wrapper | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/gpg-wrapper b/bin/gpg-wrapper index ab9f8f5..2e2e92d 100755 --- a/bin/gpg-wrapper +++ b/bin/gpg-wrapper @@ -23,14 +23,15 @@ else decrypted_dir=${GNUPGHOME} fi +# --lock-never is needed since encfs doesn't support locking any more if [ -f ${decrypted_dir}/gpg.conf ] then - exec gpg --homedir ${decrypted_dir} $@ + exec gpg --lock-never --homedir ${decrypted_dir} $@ else gpg-mounter if [ -f ${decrypted_dir}/gpg.conf ] then - exec gpg --homedir ${decrypted_dir} $@ + exec gpg --lock-never --homedir ${decrypted_dir} $@ else echo 'No gnupg.conf in ${decrypted_dir}' exit 1 -- cgit v1.2.3