[GHC] #8741: `System.Directory.getPermissions` fails on read-only filesystem
GHC
ghc-devs at haskell.org
Thu Feb 6 11:16:14 UTC 2014
#8741: `System.Directory.getPermissions` fails on read-only filesystem
-------------------------------------+-------------------------------------
Reporter: hvr | Owner: AlainODea
Type: bug | Status: patch
Priority: high | Milestone:
Component: libraries/unix | Version: 7.6.3
Resolution: | Keywords:
Operating System: POSIX | Architecture: Unknown/Multiple
Type of failure: Incorrect result | Difficulty: Easy (less than 1
at runtime | hour)
Test Case: | Blocked By:
Blocking: | Related Tickets:
-------------------------------------+-------------------------------------
Comment (by Herbert Valerio Riedel <hvr@…>):
In [changeset:"ecc92abad017cf12d8eb83509d4d57ae14ad47f9/unix"]:
{{{
#!CommitTicketReference repository="unix"
revision="ecc92abad017cf12d8eb83509d4d57ae14ad47f9"
Handle EROFS/ETXTBSY as permission denied in `fileAccess` (re #8741)
This extends `System.Posix.Files.`access` to map EROFS & ETXTBSY to
mean permission denied just like EACCESS.
Based on a patch by Alain O'Dea and comments by Duncan Coutts
Authored-by: Alain O'Dea <alain.odea at verafin.com>
Signed-off-by: Herbert Valerio Riedel <hvr at gnu.org>
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8741#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list