mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 06:34:25 -04:00
Update archivebox/system.py
This commit is contained in:
parent
9cb0be183b
commit
fa17e20f8e
1 changed files with 0 additions and 1 deletions
|
@ -57,7 +57,6 @@ def chmod_file(path: str, cwd: str='.', permissions: str=OUTPUT_PERMISSIONS) ->
|
||||||
os.chmod(root, int(OUTPUT_PERMISSIONS, base=8))
|
os.chmod(root, int(OUTPUT_PERMISSIONS, base=8))
|
||||||
else:
|
else:
|
||||||
for subpath in Path(path).glob('**/*'):
|
for subpath in Path(path).glob('**/*'):
|
||||||
print("THE PATH TO MODIFY IS", subpath)
|
|
||||||
os.chmod(subpath, int(OUTPUT_PERMISSIONS, base=8))
|
os.chmod(subpath, int(OUTPUT_PERMISSIONS, base=8))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue