mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 08:12:15 -04:00
* Fix check permissions logic (#7034)
Fixes #7031
I use the same approach than in `CreateVenv()` and `CompareVersions()`: a new bash function `CheckPathPermissions()` is declared an execute a python script passed to the interpreter through stdin.
This allows:
* to not require the temp_dir that holds a temporary script to be executed
* to reduce at the bare minimum the change to make on the order of bash command to execute (including when the temp_dir is created)
* Fix check permissions logic in certbot-auto by making a temp dir useless
* Update CHANGELOG.md
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| pieces | ||
| tests | ||
| build.py | ||
| certbot-auto.asc | ||
| Dockerfile.centos6 | ||
| Dockerfile.jessie | ||
| Dockerfile.trusty | ||
| Dockerfile.xenial | ||
| letsencrypt-auto | ||
| letsencrypt-auto.sig | ||
| letsencrypt-auto.template | ||
| rebuild_dependencies.py | ||
| version.py | ||