Pat Tullmann 14c046fc07 lib/std: PermissionDenied/AccessDenied cleanup and fallout
This PR consistently maps .ACCES into AccessDenied and .PERM into
PermissionDenied.  AccessDenied is returned if the file mode bit
(user/group/other rwx bits) disallow access (errno was `EACCES`).
PermissionDenied is returned if something else denies access (errno was
`EPERM`) (immutable bit, SELinux, capabilities, etc).  This somewhat
subtle distinction is a POSIX thing.

Most of the change is updating std.posix Error Sets to contain both
errors, and then propagating the pair up through caller Error Sets.

Fixes #16782
2025-03-24 16:20:45 +01:00
..
2025-03-11 14:59:29 +00:00
2025-03-15 12:14:00 +01:00
2024-12-19 17:10:03 -05:00
2025-02-22 14:32:48 -08:00
2025-02-22 22:21:24 -08:00
2024-07-23 11:43:12 -07:00
2025-03-07 22:22:01 +01:00
2024-07-09 14:25:42 -07:00
2025-02-05 13:58:15 +01:00
2024-08-22 08:44:08 +02:00
2025-02-06 14:23:23 -08:00
2025-03-17 21:56:17 +03:30
2025-02-22 14:32:48 -08:00
2024-08-07 00:48:32 -07:00
2024-07-31 16:57:42 -07:00
2024-08-29 23:43:52 +01: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-03 09:14:37 +00:00