anti
4b15b7eb35
fix: chown log files to sudo-invoking user so non-root API can append
...
'sudo decnet deploy' needs root for MACVLAN, but the log files it creates
(decnet.log and decnet.system.log) end up owned by root. A subsequent
non-root 'decnet api' then crashes on PermissionError appending to them.
New decnet.privdrop helper reads SUDO_UID/SUDO_GID and chowns files/dirs
back to the invoking user. Best-effort: no-op when not root, not under
sudo, path missing, or chown fails. Applied at both log-file creation
sites (config.py system log, logging/file_handler.py syslog file).
2026-04-17 13:39:09 -04:00
..
2026-04-16 02:09:30 -04:00
2026-04-16 01:55:38 -04:00
2026-04-17 13:20:05 -04:00
2026-04-14 00:30:46 -04:00
2026-04-03 23:07:44 -03:00
2026-04-15 23:46:46 -04:00
2026-04-15 12:51:33 -04:00
2026-04-15 12:51:26 -04:00
2026-04-12 00:26:22 -04:00
2026-04-15 13:58:12 -04:00
2026-04-15 13:46:42 -04:00
2026-04-15 18:02:52 -04:00
2026-04-12 00:26:22 -04:00
2026-04-15 12:51:29 -04:00
2026-04-14 15:02:34 -04:00
2026-04-15 12:51:26 -04:00
2026-04-15 22:57:03 -04:00
2026-04-15 14:04:54 -04:00
2026-04-12 00:34:45 -04:00
2026-04-13 01:43:52 -04:00
2026-04-14 02:14:46 -04:00
2026-04-10 01:50:08 -04:00
2026-04-09 02:31:14 -04:00
2026-04-09 02:31:14 -04:00
2026-04-12 03:46:23 -04:00
2026-04-17 13:35:43 -04:00
2026-04-15 12:51:29 -04:00
2026-04-04 04:31:00 -03:00
2026-04-13 23:20:37 -04:00
2026-04-14 15:02:34 -04:00
2026-04-13 01:43:52 -04:00
2026-04-15 13:58:12 -04:00
2026-04-04 17:36:16 -03:00
2026-04-09 02:31:14 -04:00
2026-04-08 01:04:59 -04:00
2026-04-10 00:14:14 -04:00
2026-04-10 01:50:08 -04:00
2026-04-13 07:39:01 -04:00
2026-04-12 07:48:17 -04:00
2026-04-15 12:51:33 -04:00
2026-04-15 12:59:54 -04:00
2026-04-17 13:13:36 -04:00
2026-04-09 12:55:52 -04:00
2026-04-12 00:26:22 -04:00
2026-04-17 13:39:09 -04:00
2026-04-14 12:53:55 -04:00
2026-04-14 12:53:55 -04:00
2026-04-14 12:22:20 -04:00
2026-04-14 12:53:55 -04:00
2026-04-14 12:53:55 -04:00
2026-04-15 17:36:40 -04:00
2026-04-15 13:58:12 -04:00
2026-04-12 00:34:45 -04:00
2026-04-12 07:48:17 -04:00
2026-04-13 23:20:37 -04:00
2026-04-15 12:51:35 -04:00
2026-04-15 12:51:35 -04:00
2026-04-15 12:51:35 -04:00
2026-04-14 15:02:34 -04:00
2026-04-12 02:17:50 -04:00
2026-04-04 17:36:16 -03:00
2026-04-15 23:23:13 -04:00
2026-04-13 20:22:08 -04:00