fixed temporary gpg home permissions

This commit is contained in:
alterNERDtive 2022-07-19 13:38:56 +02:00
parent 223a32b129
commit 4f45f0aa89
Signed by: alterNERDtive
GPG key ID: 547787A4FE6533F1

View file

@ -80,6 +80,7 @@ init () {
# Create temporary working directory: # Create temporary working directory:
local tempdir=$(mktemp -d --tmpdir) local tempdir=$(mktemp -d --tmpdir)
mkdir ${tempdir}/gpghome mkdir ${tempdir}/gpghome
chmod 700 ${tempdir}/gpghome
# Save state: # Save state:
cat > ${tempdir}/env << EOF cat > ${tempdir}/env << EOF