Joachim Wiberg
ec67ecc805
tmpfiles: add the : and ~ prefixes for mode, user, and group
...
A mode with a prefix was not read as a number, so the entry was taken
to have no mode, and a user with one was looked up with the colon in
the name, which skipped the entry:
d /var/lib/app :0750 :app :app
With : the mode, user, or group is only set on a path the entry
creates, an existing one keeps what it has. With ~ the mode loses
read, write, or execute when no one has that on the existing path,
and setuid, setgid, and sticky when it is not a directory.
Mode and owner now go through perm_set() in tmpfiles, which knows the
entry created the path or not.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2026-11-20 18:02:37 +01:00
..
2025-07-06 03:28:42 +02:00
2026-11-17 11:00:49 +01:00
2026-11-17 11:00:48 +01:00
2026-11-17 11:00:48 +01:00
2026-07-30 15:21:27 +02:00
2025-12-17 08:19:37 +01:00
2025-07-10 14:34:16 +02:00
2025-07-10 14:34:16 +02:00
2026-01-29 13:11:23 +01:00
2025-12-15 09:32:03 +01:00
2023-10-22 11:49:29 +02:00
2026-08-13 09:28:14 +02:00
2026-08-05 18:51:27 -04:00
2026-08-16 22:03:34 +02:00
2026-11-19 20:39:42 +01:00
2026-08-01 11:25:40 +02:00
2026-11-19 21:51:23 +01:00
2026-08-16 22:03:35 +02:00
2026-02-10 20:09:35 +01:00
2025-12-27 12:12:18 +01:00
2026-08-16 23:17:57 +02:00
2026-11-17 11:00:49 +01:00
2025-07-10 14:34:16 +02:00
2026-07-30 15:21:26 +02:00
2026-07-30 15:21:26 +02:00
2026-11-19 21:51:23 +01:00
2025-07-10 14:34:16 +02:00
2026-08-16 23:17:57 +02:00
2025-07-10 14:34:16 +02:00
2025-07-10 14:34:16 +02:00
2026-07-30 15:21:26 +02:00
2026-07-30 15:21:26 +02:00
2025-07-10 14:34:16 +02:00
2025-07-10 14:34:16 +02:00
2025-07-10 14:34:16 +02:00
2025-07-10 14:34:16 +02:00
2026-11-17 11:00:49 +01:00
2025-07-10 14:34:16 +02:00
2026-09-25 21:20:02 +02:00
2026-09-23 16:30:14 +02:00
2026-09-23 16:30:14 +02:00
2026-05-12 10:11:50 +02:00
2025-07-10 14:34:16 +02:00
2025-07-10 14:34:16 +02:00
2026-01-01 19:10:24 -05:00
2026-08-18 10:37:14 +02:00
2026-11-17 11:00:49 +01:00
2026-07-30 15:23:35 +02:00
2026-08-16 21:43:26 +02:00
2026-07-30 15:21:30 +02:00
2025-07-10 14:34:16 +02:00
2025-07-10 14:34:16 +02:00
2025-07-10 14:34:16 +02:00
2025-07-10 14:34:16 +02:00
2026-11-20 11:23:36 +01:00
2026-11-17 07:49:50 +01:00
2026-11-17 11:00:49 +01:00
2026-11-17 11:00:49 +01:00
2026-10-12 09:38:08 +02:00
2025-07-10 14:34:16 +02:00
2026-08-16 22:03:44 +02:00
2026-08-16 22:03:38 +02:00
2025-12-17 08:19:36 +01:00
2025-07-10 14:34:16 +02:00
2026-08-13 09:28:14 +02:00
2026-11-19 21:51:23 +01:00
2026-11-20 18:02:37 +01:00
2025-07-10 14:34:16 +02:00
2025-07-10 14:34:16 +02:00
2026-11-20 11:23:36 +01:00
2026-11-19 21:51:23 +01:00
2025-07-10 14:34:16 +02:00
2025-07-10 14:34:16 +02:00
2025-07-10 14:34:16 +02:00
2025-07-10 14:34:16 +02:00