at master 656 B view raw
1diff --git i/mkdocs_puml/plugin.py w/mkdocs_puml/plugin.py 2index e9e0f5b..7435327 100644 3--- i/mkdocs_puml/plugin.py 4+++ w/mkdocs_puml/plugin.py 5@@ -221,6 +221,12 @@ class PlantUMLPlugin(BasePlugin[PlantUMLConfig]): 6 # shutil.copy(puml_js, dest_dir) 7 shutil.copytree(static_dir, dest_dir, dirs_exist_ok=True) 8 9+ # Make sure all the files in dest_dir are writable 10+ for root, dirs, files in os.walk(dest_dir): 11+ for file in files: 12+ file_path = Path(root).joinpath(file) 13+ file_path.chmod(0o644) 14+ 15 self.storage.save() 16 17 def _replace(self, key: str, content: str) -> str: