Skip to content

Commit

Permalink
[V3 Utils] fix files not being chmodded (#1578)
Browse files Browse the repository at this point in the history
  • Loading branch information
palmtree5 authored and Kowlin committed May 4, 2018
1 parent 95ef5d6 commit ee7b0cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions redbot/core/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@ def safe_delete(pth: Path):
os.chmod(root, 0o755)
for d in dirs:
os.chmod(os.path.join(root, d), 0o755)
for f in files:
os.chmod(os.path.join(root, f), 0o755)
shutil.rmtree(str(pth), ignore_errors=True)

0 comments on commit ee7b0cf

Please sign in to comment.