Handle EROFS/ETXTBSY as permission denied in `fileAccess` (re #8741)
authorAlain O'Dea <alain.odea@verafin.com>
Wed, 5 Feb 2014 21:24:28 +0000 (21:24 +0000)
committerHerbert Valerio Riedel <hvr@gnu.org>
Thu, 6 Feb 2014 11:15:22 +0000 (12:15 +0100)
commitecc92abad017cf12d8eb83509d4d57ae14ad47f9
treeb90e9ffd6388295f20616e8aac35b66fdf9a815b
parent4a08984afe5390d91f10f9b1caf7365e6a93595b
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@verafin.com>
Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
System/Posix/Files.hsc
changelog.md