mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 00:24:35 +02: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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user