Message360033
Ubuntu 18.4 and Windows 7 has different behaviour when deleting write protected files with rmtree.
Ubuntu silently deletes them (unexpected?)
Windows moans about access denied (expected?)
Reproduction method linux
mkdir test; touch test/file.txt; chmod -w test/file.txt
Reproduction method windows
mkdir test && type nul > test\file.txt && attrib +R test\file.txt
Reproduction method cont.
python3 -c "import shutil; shutil.rmtree('test')" |
|
Date |
User |
Action |
Args |
2020-01-15 09:35:33 | PeterFS | set | recipients:
+ PeterFS |
2020-01-15 09:35:33 | PeterFS | set | messageid: <1579080933.31.0.376881618975.issue39340@roundup.psfhosted.org> |
2020-01-15 09:35:33 | PeterFS | link | issue39340 messages |
2020-01-15 09:35:33 | PeterFS | create | |
|