mirror of
https://github.com/rendercv/rendercv.git
synced 2026-04-17 13:33:53 -04:00
On NixOS and other immutable distributions, package files in the store are read-only. shutil.copytree preserves source permissions, so copied template files remain read-only. This causes PermissionError when create-theme tries to write __init__.py into the copied directory. Added make_tree_writable() that adds user-write permission to all files and directories after copying. Called automatically by copy_templates().