[GHC] #8482: Permission denied when copying file to current directory with copyFile
GHC
ghc-devs at haskell.org
Mon Nov 3 19:42:40 UTC 2014
#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
More information about the ghc-tickets
mailing list