Ivan Radic added the comment:
I got this with 3.5.1 installer on Windows 7. I solved it by running installer
with elevated privileges. Installer for 2.7.11 was not affected.
--
nosy: +ivan.radic
___
Python tracker <rep...@bugs.python.org>
New submission from Ivan Radic:
Shutil supports deleting of files and directories but it offers no way to
delete directory content (without deleting directory itself). Shell programming
includes a lot of rm -rf /dir and rm -f /dir/*, and there is no direct
equivalent of these commands
New submission from Ivan Radic:
shutil.rmtree works nice on Windows until it hits file with read only attribute
set. Workaround is to provide a onerror parameter as a function that checks and
removes file attribute before attempting to delete it. Can option to delete
read_only files
Ivan Radic added the comment:
You are essentially asking that we have an option to make the windows behavior
mirror the posix behavior? (A read only file in a writable directory can be
deleted in posix, since only the directory entry, not the file, is being
deleted.)
Actually, your