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:10:22 -07:00
parent 52e20769bb
commit fa09882892
+1 -2
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