Private GIT

Skip to content
Snippets Groups Projects
Commit 41ede067 authored by Nic Wolfe's avatar Nic Wolfe
Browse files

Cover more encoding cases in the chmod code

parent fb5e8db6
Branches
Tags
No related merge requests found
......@@ -420,7 +420,7 @@ def chmodAsParent(childPath):
childMode = parentMode
try:
os.chmod(childPath, childMode)
ek.ek(os.chmod, childPath, childMode)
logger.log(u"Setting permissions for %s to %o as parent directory has %o" % (childPath, childMode, parentMode), logger.DEBUG)
except OSError:
logger.log(u"Failed to set permission for %s to %o" % (childPath, childMode), logger.ERROR)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment