§2024-01-23
pacman -Syyuu
....
:: Running post-transaction hooks...
(1/6) Creating system user accounts...
(2/6) Applying kernel sysctl settings...
(3/6) Creating temporary files...
Detected unsafe path transition /usr/lib (owned by 1000) → /usr/lib/utempter (owned by root) during canonicalization of usr/lib/utempter/utempter.
Detected unsafe path transition /usr/bin (owned by 1000) → /usr/bin/groupmems (owned by root) during canonicalization of usr/bin/groupmems.
error: command failed to execute correctly
(4/6) Arming ConditionNeedsUpdate...
(5/6) Updating the info directory file...
(6/6) Updating the desktop file MIME type cache...
- findings
root@orgpi58G /h/a/b/manjaro-arm-installer# ls -l /
total 52
lrwxrwxrwx 1 root root 7 1月 22 21:58 bin -> usr/bin/
drwxr-xr-x 5 root root 4096 1月 21 06:19 boot/
drwxr-xr-x 18 root root 3880 1月 23 09:01 dev/
drwxr-xr-x 72 root root 4096 1月 23 10:16 etc/
drwxr-xr-x 3 root root 4096 11月 28 12:35 home/
lrwxrwxrwx 1 root root 7 1月 22 21:58 lib -> usr/lib/
drwx------ 2 root root 16384 6月 18 2023 lost+found/
drwxr-xr-x 2 root root 4096 1月 22 21:58 mnt/
drwxr-xr-x 3 root root 4096 11月 28 13:49 opt/
dr-xr-xr-x 372 root root 0 1月 13 11:21 proc/
drwxr-x--- 8 root root 4096 1月 21 13:32 root/
drwxr-xr-x 23 root root 580 1月 13 11:22 run/
lrwxrwxrwx 1 root root 7 1月 22 21:58 sbin -> usr/bin/
drwxr-xr-x 4 root root 4096 6月 18 2023 srv/
dr-xr-xr-x 14 root root 0 1月 23 11:12 sys/
drwxrwxrwt 46 root root 940 1月 23 11:11 tmp/
drwxr-xr-x 8 1000 1000 4096 1月 23 10:16 usr/ <---- ???
drwxr-xr-x 12 root root 4096 1月 23 10:16 var/
- fix
root@orgpi58G /h/a/b/manjaro-arm-installer# chown -R root:root /usr
root@orgpi58G /h/a/b/manjaro-arm-installer# ls -l /
total 52
lrwxrwxrwx 1 root root 7 1月 22 21:58 bin -> usr/bin/
drwxr-xr-x 5 root root 4096 1月 21 06:19 boot/
drwxr-xr-x 18 root root 3880 1月 23 09:01 dev/
drwxr-xr-x 72 root root 4096 1月 23 10:16 etc/
drwxr-xr-x 3 root root 4096 11月 28 12:35 home/
lrwxrwxrwx 1 root root 7 1月 22 21:58 lib -> usr/lib/
drwx------ 2 root root 16384 6月 18 2023 lost+found/
drwxr-xr-x 2 root root 4096 1月 22 21:58 mnt/
drwxr-xr-x 3 root root 4096 11月 28 13:49 opt/
dr-xr-xr-x 369 root root 0 1月 13 11:21 proc/
drwxr-x--- 8 root root 4096 1月 21 13:32 root/
drwxr-xr-x 23 root root 580 1月 13 11:22 run/
lrwxrwxrwx 1 root root 7 1月 22 21:58 sbin -> usr/bin/
drwxr-xr-x 4 root root 4096 6月 18 2023 srv/
dr-xr-xr-x 14 root root 0 1月 23 11:12 sys/
drwxrwxrwt 46 root root 940 1月 23 11:11 tmp/
drwxr-xr-x 8 root root 4096 1月 23 10:16 usr/
drwxr-xr-x 12 root root 4096 1月 23 10:16 var/