Corinna Vinschen
9afd4c0558
Cygwin: chmod: don't drop default ACEs from directory ACLs
...
commit bc444e5aa4ca introduced a call to get_posix_access()
with a NULL pointer for the mode_t parameter because the value
is not needed later on... entirely ignoring the fact that the
mode_t bits are checked for the object being a directory.
In turn, the get_posix_access() call never checked for default
ACEs and returned only the standard ACEs. Thus, every chmod call
on a directory dropped the default ACEs from its permissions, as
well as the default NULL deny-ACE used to store specific bits.
It got also impossible to set the sgid bit on directories.
Fixes: bc444e5aa4ca ("Reapply POSIX ACL changes.")
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2023-02-09 21:58:20 +01:00
..
2022-08-29 17:53:48 +01:00
2023-02-09 21:58:20 +01:00
2023-01-09 13:42:53 +01:00
2022-08-04 20:54:09 +02:00
2022-10-24 14:09:07 +02:00
2023-01-31 20:35:53 +09:00
2022-08-04 12:55:52 +02:00
2023-01-18 20:13:38 +01:00
2023-02-09 21:58:20 +01:00
2023-01-10 10:27:13 +00:00
2023-02-09 21:58:07 +01:00
2021-11-10 20:16:15 -05:00
2022-12-20 10:19:23 +01:00
2022-08-04 22:13:59 +02:00
2022-08-04 22:13:59 +02:00
2023-01-17 16:32:14 +01:00
2022-12-04 14:01:41 +01:00
2022-10-28 16:26:53 +02:00
2022-05-16 18:17:06 +02:00
2022-08-03 15:59:37 +02:00
2022-08-04 22:13:59 +02:00
2022-08-23 12:09:44 +02:00
2023-01-09 13:42:53 +01:00
2022-10-28 16:26:53 +02:00
2023-01-10 21:04:29 +09:00
2022-08-22 14:38:49 +02:00
2023-01-21 18:25:56 +01:00
2023-01-21 18:25:56 +01:00
2021-11-15 19:32:23 -05:00
2022-05-29 17:54:32 -04:00
2022-06-06 12:00:45 -04:00
2022-06-06 12:00:45 -04:00
2022-08-03 15:35:34 +02:00
2022-08-04 15:16:48 +02:00
2022-11-04 13:25:54 +00:00
2022-07-28 22:00:40 +02:00
2022-12-02 16:35:31 +01:00
2022-05-29 17:45:52 -04:00
2022-12-04 14:01:41 +01:00
2022-08-29 12:25:24 +02:00
2023-01-12 10:51:39 +01:00
2022-05-04 15:08:44 +02:00
2022-05-29 17:45:52 -04:00
2022-10-28 12:44:27 +02:00
2022-05-29 17:45:52 -04:00
2022-07-28 16:38:01 +02:00
2022-08-04 22:13:59 +02:00
2022-05-29 17:45:52 -04:00
2022-08-04 22:13:59 +02:00
2022-08-04 22:13:59 +02:00
2022-05-29 17:54:32 -04:00
2023-01-10 10:27:13 +00:00
2022-08-10 18:06:28 +02:00
2022-05-29 17:45:52 -04:00
2023-01-23 14:02:20 +01:00
2022-08-04 11:45:58 +02:00
2022-08-23 12:09:44 +02:00
2022-06-06 12:00:45 -04:00
2022-05-29 17:45:52 -04:00
2022-12-21 13:13:24 +01:00
2023-01-17 22:00:48 +01:00
2022-06-27 10:54:24 +09:00
2022-08-10 18:11:57 +02:00
2022-08-22 14:53:30 +02:00
2022-08-04 22:13:59 +02:00
2022-08-03 16:01:29 +02:00
2022-12-07 21:18:24 +01:00
2022-12-04 14:01:41 +01:00
2021-10-29 18:19:45 +02:00
2022-12-22 21:05:31 +09:00
2022-08-22 14:28:11 +02:00
2022-05-29 17:45:52 -04:00
2023-01-10 11:48:02 +01:00
2022-08-22 17:58:53 +02:00
2022-11-20 10:37:37 +09:00
2022-06-06 12:00:45 -04:00
2022-08-04 22:13:59 +02:00
2022-05-29 17:54:32 -04:00
2023-01-10 22:04:40 +09:00
2022-05-29 17:54:32 -04:00
2022-08-03 15:35:29 +02:00
2022-08-10 18:11:57 +02:00
2022-08-04 22:13:59 +02:00
2022-12-04 14:01:41 +01:00
2022-08-23 12:09:44 +02:00
2022-12-09 21:01:42 +09:00
2022-12-04 14:03:02 +01:00
2022-12-07 22:22:38 +01:00
2023-01-12 10:34:32 +01:00
2022-08-04 22:13:59 +02:00