1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

wks: Do not mark key files as executable

This commit is contained in:
Bernhard M. Wiedemann 2021-10-23 15:23:26 +02:00 committed by Werner Koch
parent 60be00b033
commit 0c8bc15434
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -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()));