mirror of
https://github.com/certbot/certbot.git
synced 2026-06-07 15:52:08 -04:00
Change permission error message
Commonly, this will be caused by a failure to sudo, so the previous text was not necessarily going to be helpful.
This commit is contained in:
parent
52e20769bb
commit
fa09882892
1 changed files with 1 additions and 2 deletions
|
|
@ -33,8 +33,7 @@ def make_or_verify_dir(directory, mode=0o755, uid=0):
|
|||
if exception.errno == errno.EEXIST:
|
||||
if not check_permissions(directory, mode, uid):
|
||||
raise errors.LetsEncryptClientError(
|
||||
"%s exists, but does not have the proper "
|
||||
"permissions or owner" % directory)
|
||||
"%s exists, this client can't access it" % directory)
|
||||
else:
|
||||
raise
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue