#2924: createDirectory: permission denied
------------------------------------+---------------------------------------
Reporter: simonmar | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.12.2
Component: libraries/directory | Version: 6.10.1
Keywords: | Difficulty: Unknown
Os: Windows | Testcase:
Architecture: x86 | Failure: None/Unknown
------------------------------------+---------------------------------------
Comment(by simonmar):
Replying to [comment:12 igloo]:
> I can't reproduce the problem in the ticket description with the HEAD. I
get:
> {{{
> q.exe: RemoveDirectory "foo": permission denied (The process cannot
access the file because it is being used by another process.)
> q.exe: thread blocked indefinitely in an MVar operation
> }}}
> which seems reasonable if the other thread is getting a directory
listing for doing a recursive remove.
That's a manifestation of the bug. The point is that we shouldn't ever be
seeing a permission denied error, only `isDoesNotExist` or
`isAlreadyExists` which are already caught by the program.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2924#comment:13>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs