Skip to content

Commit 1064731

Browse files
committed
fix(ssl): ensure acme is executable by anyone on the system
no issue - ensures we don't run into permissions issues with the acme.sh file itself
1 parent 0f20c6f commit 1064731

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/nginx/letsencrypt.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module.exports = function letsencrypt(instance, email, staging, renew) {
1616
downloadPromise = Promise.resolve();
1717
} else {
1818
let acmeUrl = `https://raw.githubusercontent.com/Neilpang/acme.sh/${ACME_VERSION}/acme.sh`;
19-
downloadPromise = download(acmeUrl).then(data => fs.writeFile(acmePath, data, {mode: 0o774}));
19+
downloadPromise = download(acmeUrl).then(data => fs.writeFile(acmePath, data, {mode: 0o755}));
2020
}
2121

2222
return downloadPromise.then(() => {

0 commit comments

Comments
 (0)