mirror of
https://github.com/ciromattia/kcc
synced 2026-07-07 21:45:33 +00:00
Forbidding OSX/Linux to open subdirectories is not idea of the year
This commit is contained in:
+1
-1
@@ -666,7 +666,7 @@ def sanitizeTreeBeforeConversion(filetree):
|
|||||||
if os.path.getsize(os.path.join(root, name)) == 0:
|
if os.path.getsize(os.path.join(root, name)) == 0:
|
||||||
os.remove(os.path.join(root, name))
|
os.remove(os.path.join(root, name))
|
||||||
for name in dirs:
|
for name in dirs:
|
||||||
os.chmod(os.path.join(root, name), stat.S_IWRITE | stat.S_IREAD)
|
os.chmod(os.path.join(root, name), stat.S_IWRITE | stat.S_IREAD | stat.S_IEXEC)
|
||||||
|
|
||||||
|
|
||||||
def Copyright():
|
def Copyright():
|
||||||
|
|||||||
Reference in New Issue
Block a user