From 3aee882c2daee193b74d324f1c402f0ca114fcbb Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Sat, 3 Aug 2024 03:45:27 +0900 Subject: Fix file permission --- _libs/postprocess | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_libs/postprocess b/_libs/postprocess index a031a9f..7c46105 100755 --- a/_libs/postprocess +++ b/_libs/postprocess @@ -33,7 +33,9 @@ site = Path(__file__).parent.parent / '__site' for html in site.rglob('*.html'): print('Fixing up', html) html.write_text(fix_footnotes(html.read_text())) + html.chmod(0o644) for rss in site.rglob('feed.xml'): print('Fixing up', rss) rss.write_text(fix_footnotes(rss.read_text())) + rss.chmod(0o644) with suppress(FileNotFoundError): rmtree(site/'libs') -- cgit 1.4.1