Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid permissions errors for chown .well-known
When acme.sh is run as a non-root user different from the owner of the webroot directory it is unable to change the owner of the files in .well-known to that user, causing permissions errors. Avoid this by making the files world-readable. These files should pose no disclosure risk since they are sent in cleartext during the HTTP Identifier Validation Challenge[1] and may already be exposed by directory enumeration, depending on server settings. AFAIK they should be safe to expose as world-readable in all cases. 1. https://ietf-wg-acme.github.io/acme/#rfc.section.7.2 Fixes #32 Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
- Loading branch information