Skip to content

Commit eae2642

Browse files
authored
Create $BUILDDIRECTORY/_gnupg with mode 700
Explicitly specify the mode to create the `_gnupg` directory with, to satisfy `gpg`, that otherwise produces the warning: gpg: WARNING: unsafe permissions on homedir '/var/lib/repro/_gnupg'
1 parent daf3942 commit eae2642

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

repro.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ function gpg() {
7171
}
7272

7373
function init_gnupg() {
74-
mkdir -p "$BUILDDIRECTORY/_gnupg"
74+
mkdir -p "$BUILDDIRECTORY/"
75+
mkdir -p --mode 700 "$BUILDDIRECTORY/_gnupg"
7576

7677
# ensure signing key is available
7778
# We try WKD first, then fallback to keyservers.

0 commit comments

Comments
 (0)