[Issue 7223] Access violation when using rmdirRecurse on folder without modify permissions
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Apr 20 08:22:39 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7223
Jesse Phillips <Jesse.K.Phillips+D at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |Jesse.K.Phillips+D at gmail.co
| |m
--- Comment #2 from Jesse Phillips <Jesse.K.Phillips+D at gmail.com> 2012-04-20 08:23:35 PDT ---
(In reply to comment #1)
> Code example ? Link to discussion ?
A code example is tricky because the issue revolves around the environment and
not the specific code. But here you go:
import std.file;
void main() {
rmdirRecurse(r"C:\noper");
}
Now create C:\noper as a different user from what you will be running it as, or
find another way to remove your permissions. Probably throw in a file or two
too.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list