Cole Robinson
a2e7dfc73b
New API: ntfs_chmod
...
Add an API to do the equivalent of `chmod [-r] MODE PATH` for
NTFS filesystems.
Files created on a linux ntfs-3g mount can not change permissions
directly. New files and directories are created with rough windows
equivalent of `chmod 777`. These wide open permissions can generate
security warnings on windows after virt-v2v installs bits into
`Program Files\Guestfs`.
Behind the scenes we use `ntfssecaudit(8)` from `ntfsprogs`
which is already part of the appliance. We only expose the chmod-style
feature; the rest of `ntfssecaudit` is concerned reporting and
managing fine grained windows security info which is way more than
we need.
Also note, `ntfssecaudit` needs to run on an unmounted partition
so using this is more complicated than a traditional `chmod` call.
Related: https://issues.redhat.com/browse/RHEL-104352
Signed-off-by: Cole Robinson <crobinso@redhat.com >
2025-09-09 16:29:13 +01:00
..
2022-03-09 09:28:02 +00:00
2019-05-30 09:12:32 +02:00
2022-08-16 10:39:01 +01:00
2025-02-16 17:00:46 +00:00
2025-05-19 13:42:44 +01:00
2025-05-11 12:37:23 +01:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2022-06-17 13:24:19 +01:00
2022-08-16 10:39:01 +01:00
2022-08-16 10:39:01 +01:00
2025-02-16 17:00:46 +00:00
2025-05-11 21:29:23 +01:00
2018-02-06 17:27:23 +01:00
2018-02-06 17:27:23 +01:00
2025-02-16 17:00:46 +00:00
2025-08-13 16:08:28 +01:00
2025-08-13 16:08:28 +01:00
2018-01-09 12:17:53 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-04-29 19:05:07 +01:00
2025-02-16 17:00:46 +00:00
2025-05-11 21:29:23 +01:00
2025-02-16 17:00:46 +00:00
2025-05-20 14:40:58 +01:00
2018-04-19 11:30:29 +02:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-04-29 19:05:07 +01:00
2025-02-16 17:00:46 +00:00
2025-05-11 12:37:23 +01:00
2025-02-16 17:00:46 +00:00
2025-05-11 21:29:23 +01:00
2025-04-28 10:07:34 +01:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2022-08-16 10:39:01 +01:00
2025-02-16 17:00:46 +00:00
2025-08-12 17:55:06 +01:00
2025-02-16 17:00:46 +00:00
2025-05-11 21:29:23 +01:00
2025-02-16 17:00:46 +00:00
2025-09-01 13:59:56 +01:00
2025-02-16 17:00:46 +00:00
2025-03-03 14:22:37 +00:00
2025-02-16 17:00:46 +00:00
2025-03-03 14:22:37 +00:00
2025-03-03 14:22:37 +00:00
2025-05-11 12:37:23 +01:00
2025-02-16 17:00:46 +00:00
2025-05-27 17:01:09 +01:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2024-10-22 11:02:38 +01:00
2025-05-11 21:29:23 +01:00
2021-05-13 12:04:41 +01:00
2025-02-16 17:00:46 +00:00
2025-05-27 17:01:09 +01:00
2021-09-07 14:53:06 +01:00
2025-02-16 17:00:46 +00:00
2025-04-16 21:12:49 +01:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-04-16 21:12:49 +01:00
2025-02-16 17:00:46 +00:00
2025-08-13 16:08:28 +01:00
2021-11-09 10:20:37 +00:00
2025-05-11 21:29:23 +01:00
2025-02-16 17:00:46 +00:00
2025-05-11 21:29:23 +01:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-09-09 16:29:13 +01:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2022-05-03 10:54:00 +02:00
2025-02-16 17:00:46 +00:00
2022-05-26 10:16:21 +01:00
2025-02-16 17:00:46 +00:00
2025-08-13 16:08:28 +01:00
2025-08-30 14:05:34 +01:00
2025-05-11 21:29:23 +01:00
2025-02-19 12:01:10 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-08-13 16:08:28 +01:00
2025-08-13 16:08:28 +01:00
2025-08-13 16:08:28 +01:00
2025-02-16 17:00:46 +00:00
2018-05-15 11:15:54 +01:00
2025-02-16 17:00:46 +00:00
2024-05-10 16:07:20 +01:00
2025-02-16 17:00:46 +00:00
2025-08-14 15:45:59 +01:00
2025-08-14 15:45:59 +01:00
2025-02-16 17:00:46 +00:00
2021-03-30 12:56:58 +01:00
2024-10-18 21:55:21 +01:00
2025-02-16 17:00:46 +00:00