From 25331f5d8192a412bd4deaa805bbd767d4430a65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Jastrz=C4=99bski?= Date: Tue, 1 Mar 2016 20:56:12 +0100 Subject: [PATCH] Fixed permission issues (close #179) --- kcc/comic2ebook.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kcc/comic2ebook.py b/kcc/comic2ebook.py index 7e1d90c..1c7bbb2 100755 --- a/kcc/comic2ebook.py +++ b/kcc/comic2ebook.py @@ -591,6 +591,7 @@ def getWorkFolder(afile): raise UserWarning("Failed to detect archive format.") else: raise UserWarning("Failed to open source file/directory.") + sanitizePermissions(path) newpath = mkdtemp('', 'KCC-') copytree(path, os.path.join(newpath, 'OEBPS', 'Images')) rmtree(path, True)