
#8482: Permission denied when copying file to current directory with copyFile -------------------------------------+------------------------------------- Reporter: Henk-Jan | Owner: gintas Type: bug | Status: closed Priority: normal | Milestone: Component: Core | Version: 7.6.3 Libraries | Keywords: copyFile Resolution: wontfix | permission denied Operating System: Windows | Architecture: x86 Type of failure: Incorrect | Difficulty: Unknown result at runtime | Blocked By: Test Case: | Related Tickets: Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Changes (by gintas): * status: new => closed * resolution: => wontfix Comment: Actually, never mind, Posix.rename behaves the same as Win32.moveFileEx, both check themselves that the destination is not a directory. The only problem is that the error message is misleading in some cases ("Access denied" instead of "InappropriateType"). Otherwise, it's all working as intended... -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8482#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler