Pat Tullmann 8d9bb97461 posix: access/accessZ/faccessat/faccessatZ can return AccessDenied or PermissionDenied
`EACCES` is returned if the file mode bit (i.e., user/group/other rwx
bits) disallow access.  `EPERM` is returned if something else denies
access (immutable bit, SELinux, capabilities, etc).  This somewhat subtle
no-access distinction is part of POSIX.  For now map both to
`error.PermissionDenied` to keep the error signature unchanged.  See
duopoly.

This PR is effecitvely an update/simplification of PR #19193.

Tested locally with an immutable file.

Fixes #22733 and #19162.
2025-02-21 07:29:15 +01:00
..
2024-12-19 17:10:03 -05:00
2025-02-18 09:47:44 -05:00
2025-02-21 06:05:04 +01:00
2024-07-23 11:43:12 -07:00
2024-07-09 14:25:42 -07:00
2025-02-20 20:42:24 +01:00
2025-02-05 13:58:15 +01:00
2024-08-22 08:44:08 +02:00
2025-02-17 19:17:55 +01:00
2025-02-06 14:23:23 -08:00
2025-02-18 18:07:31 +03:30
2024-08-07 00:48:32 -07:00
2024-07-31 16:57:42 -07:00
2025-02-16 01:02:33 +01:00
2025-01-16 20:42:08 -05:00
2024-08-29 23:43:52 +01:00
2025-02-06 14:23:23 -08:00
2025-01-16 20:42:08 -05:00
2025-02-06 14:23:23 -08:00
2025-02-06 14:23:23 -08:00
2025-02-06 14:23:23 -08:00
2025-02-03 09:14:37 +00:00