Skip to content

Commit

Permalink
wks: Do not mark key files as executable
Browse files Browse the repository at this point in the history
  • Loading branch information
bmwiedemann committed Oct 23, 2021
1 parent e23e2e9 commit 47efe3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/gpg-wks-server.c
Original file line number Diff line number Diff line change
Expand Up @@ -1443,7 +1443,7 @@ check_and_publish (server_ctx_t ctx, const char *address, const char *nonce)
}

/* Make sure it is world readable. */
if (gnupg_chmod (fnewname, "-rwxr--r--"))
if (gnupg_chmod (fnewname, "-rw-r--r--"))
log_error ("can't set permissions of '%s': %s\n",
fnewname, gpg_strerror (gpg_err_code_from_syserror()));

Expand Down

0 comments on commit 47efe3f

Please sign in to comment.