mirror of
https://github.com/komari-monitor/komari.git
synced 2026-11-24 17:10:54 +00:00
Theme archives frequently store directory entries without the execute
bit (e.g. 0664). Theme extraction passed that mode straight to
os.MkdirAll, producing directories that cannot be entered, so writing
the first file inside them failed with EACCES:
创建文件失败: open data/theme/<name>/dist/__next.__PAGE__.txt: permission denied
This makes market installation fail for affected themes. Create all
extracted directories with 0755 instead; individual file modes keep
being taken from the archive.