Willie
779ec26ff5
fix(upgrade): elevate only the binary replacement with sudo
...
When the binary lived in a root-owned directory, upgrade re-ran the whole
command under sudo. The built-in skill download, UI asset cache, and oplog
then landed in the user's home as root-owned files, and a later git pull
of the skills source failed with "unable to unlink old
'skillshare/SKILL.md': Permission denied".
The sudo child now only receives an internal --replace-binary=<version>
flag that downloads and swaps the binary. The parent waits for it and
does everything else as the invoking user. The needs-password hint shown
by the CLI and dashboard drops its sudo prefix, since a fully root
upgrade reproduces the same breakage.
2026-09-27 02:10:00 +08:00
..
2026-06-11 01:32:34 +08:00
2026-03-18 22:35:02 +08:00
2026-04-09 23:50:42 +08:00
2026-04-10 02:05:13 +08:00
2026-04-11 03:37:48 +08:00
2026-09-21 04:17:26 +08:00
2026-09-19 03:14:03 +08:00
2026-06-05 20:51:32 +08:00
2026-04-10 02:05:13 +08:00
2026-09-19 03:14:03 +08:00
2026-02-23 04:18:01 +08:00
2026-03-29 04:59:23 +08:00
2026-09-26 21:12:57 +08:00
2026-02-23 04:18:01 +08:00
2026-09-26 21:12:57 +08:00
2026-04-10 01:26:40 +08:00
2026-09-21 13:31:38 +08:00
2026-09-21 02:21:49 +08:00
2026-09-22 11:21:35 +08:00
2026-09-19 03:14:03 +08:00
2026-09-19 03:14:03 +08:00
2026-09-25 22:26:51 +08:00
2026-04-10 02:05:13 +08:00
2026-04-14 18:16:11 +08:00
2026-05-30 19:23:12 +08:00
2026-05-30 19:23:12 +08:00
2026-06-02 18:40:00 +08:00
2026-09-19 03:14:03 +08:00
2026-09-25 02:22:35 +08:00
2026-09-25 02:22:35 +08:00
2026-02-23 04:18:01 +08:00
2026-04-10 01:26:40 +08:00
2026-09-19 03:14:03 +08:00
2026-09-19 03:14:03 +08:00
2026-02-23 04:18:01 +08:00
2026-03-17 04:48:42 +08:00
2026-02-23 04:18:01 +08:00
2026-05-20 15:42:53 +08:00
2026-07-21 00:31:37 +08:00
2026-09-21 04:31:22 +08:00
2026-02-23 04:18:01 +08:00
2026-03-17 04:48:42 +08:00
2026-09-19 03:14:03 +08:00
2026-09-22 19:08:51 +08:00
2026-04-19 09:29:18 +08:00
2026-04-19 09:29:18 +08:00
2026-05-20 15:42:53 +08:00
2026-09-19 03:14:03 +08:00
2026-09-22 11:21:35 +08:00
2026-09-22 11:21:35 +08:00
2026-06-03 15:37:57 +08:00
2026-09-21 01:52:34 +08:00
2026-09-21 01:52:34 +08:00
2026-04-09 03:50:28 +08:00
2026-09-27 02:10:00 +08:00
2026-09-27 02:10:00 +08:00
2026-06-02 16:29:25 +08:00
2026-06-02 16:29:25 +08:00
2026-07-21 00:31:37 +08:00
2026-07-21 00:31:37 +08:00
2026-05-21 14:49:11 +08:00
2026-09-26 21:02:28 +08:00
2026-09-26 21:12:57 +08:00
2026-09-20 01:51:59 +08:00
2026-09-26 21:12:57 +08:00
2026-09-21 01:52:34 +08:00
2026-09-21 01:52:34 +08:00
2026-09-22 15:17:11 +08:00
2026-09-22 15:17:11 +08:00
2026-04-14 18:03:41 +08:00
2026-09-22 11:21:35 +08:00
2026-09-22 11:21:35 +08:00
2026-06-05 23:41:03 +08:00
2026-06-05 23:41:03 +08:00
2026-05-21 14:49:11 +08:00
2026-04-08 20:52:29 +08:00
2026-04-08 20:52:29 +08:00
2026-06-02 23:48:09 +08:00
2026-09-26 21:02:28 +08:00
2026-09-26 21:12:57 +08:00
2026-08-27 17:10:29 +08:00
2026-09-21 04:31:22 +08:00
2026-05-24 01:21:06 +08:00
2026-05-24 01:21:06 +08:00
2026-03-18 22:35:02 +08:00
2026-04-19 09:29:18 +08:00
2026-04-19 09:29:18 +08:00
2026-03-17 04:48:42 +08:00
2026-04-09 04:07:35 +08:00
2026-03-18 22:35:02 +08:00
2026-05-05 18:33:07 +08:00
2026-09-26 21:12:57 +08:00
2026-09-21 22:23:12 +08:00
2026-09-21 22:23:12 +08:00