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 1 year ago

simonpintarelli commented 1 year 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.