Commit fd202543 authored by owsla's avatar owsla

Improve warning message in light of new Windows ACLs support


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@930 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent b8bd3fdc
......@@ -269,14 +269,14 @@ class FSAbilities:
try: import posix1e
except ImportError:
log.Log("Unable to import module posix1e from pylibacl "
"package.\nACLs not supported on filesystem at %s" %
"package.\nPOSIX ACLs not supported on filesystem at %s" %
(rp.path,), 4)
self.acls = 0
return
try: posix1e.ACL(file=rp.path)
except IOError:
log.Log("ACLs not supported by filesystem at %s" % (rp.path,), 4)
log.Log("POSIX ACLs not supported by filesystem at %s" % (rp.path,), 4)
self.acls = 0
else: self.acls = 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment