From bb51b53e11d4eb90522f1a572efb9b0fe37bc441 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Jastrz=C4=99bski?= Date: Wed, 19 Jun 2013 14:33:51 +0200 Subject: [PATCH] Forbidding OSX/Linux to open subdirectories is not idea of the year --- kcc/comic2ebook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kcc/comic2ebook.py b/kcc/comic2ebook.py index b9243af..a822df4 100755 --- a/kcc/comic2ebook.py +++ b/kcc/comic2ebook.py @@ -666,7 +666,7 @@ def sanitizeTreeBeforeConversion(filetree): if os.path.getsize(os.path.join(root, name)) == 0: os.remove(os.path.join(root, name)) 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():