eth-cscs / stackinator

https://eth-cscs.github.io/stackinator/
BSD 3-Clause "New" or "Revised" License
19 stars 15 forks source link

replace shutil.copytree and shutil.copy2 by custom install command #148

Closed simonpintarelli closed 9 months ago

simonpintarelli commented 9 months ago

shutil.copytree can take a custom copy_function, unfortunately this isn't enough, since it is only called for the files. Therefore it doesn't allow to control the permissions of the directory.