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:
Peter Eckersley 2015-06-22 01:09:43 -07:00
parent 52e20769bb
commit fa09882892

View file

@ -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