When I was using ciel load-os to load my own rootfs tarball that contains folders with the ownership of root:blah where blah is some regular user's home group, the extracted folder would incorrectly have the ownership of root:root. But if I manually tar xf then the ownership would be correct. See the example below:
root@kagami /var/lib/ciel # ciel load-os https://archmips.local.suzushi.ro/dist/arch-mipsr6-20210721-rootfs.txz
info: Downloading base OS tarball...
ciel load-os 16.30s user 1.78s system 94% cpu 19.196 total
root@kagami /var/lib/ciel # ls -l .ciel/container/dist/var/cache
总用量 0
drwx------ 2 root root 23 7月 21 21:21 ldconfig
drwxrwxr-x 2 root root 6 7月 21 21:21 makepkg
drwxr-xr-x 3 root root 17 7月 21 21:21 pacman
drwx------ 2 root root 6 7月 21 21:21 private
root@kagami /var/lib/ciel # rm -rf .ciel/container/dist/*
zsh: sure you want to delete all 19 files in /var/lib/ciel/.ciel/container/dist [yn]? y
root@kagami /var/lib/ciel # tar xf arch-mipsr6-20210721-rootfs.txz -C .ciel/container/dist
tar xf arch-mipsr6-20210721-rootfs.txz -C .ciel/container/dist 15.27s user 1.71s system 132% cpu 12.780 total
root@kagami /var/lib/ciel # ls -l .ciel/container/dist/var/cache
总用量 0
drwx------ 2 root root 23 7月 21 20:02 ldconfig
drwxrwxr-x 2 root hachiroku 6 7月 14 20:25 makepkg
drwxr-xr-x 3 root root 17 6月 15 01:31 pacman
drwx------ 2 root root 6 6月 15 01:31 private
Note that the var/cache/makepkg folder has ownership of root:root if extracted with ciel load-os, but the correct ownership should be root:hachiroku as shown in the result created with manual tar xf.
When I was using
ciel load-os
to load my own rootfs tarball that contains folders with the ownership ofroot:blah
whereblah
is some regular user's home group, the extracted folder would incorrectly have the ownership ofroot:root
. But if I manuallytar xf
then the ownership would be correct. See the example below:Note that the
var/cache/makepkg
folder has ownership ofroot:root
if extracted withciel load-os
, but the correct ownership should beroot:hachiroku
as shown in the result created with manualtar xf
.