rigoudyg / climaf

CliMAF - a Climate Model Analysis Framework - doc at : http://climaf.readthedocs.org/
Other
18 stars 7 forks source link

cprotect was not actually preventing craz… #146

Open jservonnat opened 5 years ago

jservonnat commented 5 years ago

…of erasing the protected file; here I propose a fix (loop on elements of the cache and cdrop) to ensure that a protected file remains in the cache (unless force=True is specified)

jservonnat commented 5 years ago

@senesis I'm interested to have your opinion on this point

senesis commented 5 years ago

Hi, Jérôme The change is fully relevant. I definitely should have run basic tests on the behaviour of "rm -fR" on non-writeable files !

jservonnat commented 5 years ago

Thank you @senesis !