eth-cscs / stackinator

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

add missing set_permissions #155

Closed simonpintarelli closed 6 months ago

simonpintarelli commented 6 months ago

set_permissions was not called for the toplevel directory in os.walk(directory)

simonpintarelli commented 6 months ago

One second, just spotted another thing

simonpintarelli commented 6 months ago

I've changed it to setting the permissions before os.walk for the top-level directory. Otherwise it is set twice for nested directories. first in dirnames and then again in dirpaths