Skip to content

Commit

Permalink
Do not copy permissions for directories
Browse files Browse the repository at this point in the history
This would prevent us from writing .mhl files when the source directory
is write protected.
  • Loading branch information
cbenhagen committed Sep 1, 2020
1 parent d5e977b commit b8dd705
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ocopy/copy.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,6 @@ def copytree(
except OSError as why:
errors.append(ErrorListEntry(src_path, dst_paths, str(why)))

for d in destinations:
copystat(source, d)

if errors:
raise CopyTreeError(errors)

Expand Down

0 comments on commit b8dd705

Please sign in to comment.