http://d.puremagic.com/issues/show_bug.cgi?id=10529
Summary: rmdirRecurse should have an optional force parameter for read-only file removal Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: andrej.mitrov...@gmail.com --- Comment #0 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2013-07-03 09:22:37 PDT --- On win32 rmdirRecurse will fail if a file in the directory has the read-only attribute set. The win32 API says such a file needs to have its read-only attribute removed, however Phobos lacks a 'setFileAttributes' function. I propose we add an optional 'force' enum or boolean to rmdirRecurse, which will force removal of read-only files by removing the read-only attribute. This probably means other related functions like 'remove' will need to have this optional parameter. Additionally we should provide a setAttributes function -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------