Open AkihiroSuda opened 4 years ago
We should have a utility command to show the user.rootlesscontainers xattr value in a human-readable format.
user.rootlesscontainers
e.g.
$ id -u 1001 $ ls -ln /path/to/bundle/etc/ ... -rw-r----- 1 1001 1001 422 May 29 23:20 shadow $ getfattr -d -e hex -m user.rootlesscontainers /path/to/bundle/rootfs/etc/shadow ... user.rootlesscontainers=0xdeadbeef... $ umoci ls-bundle /path/to/bundle/etc/ -rw-r----- 1 0 42 422 May 29 23:20 shadow
Not a bad idea -- though it'd probably be called something like umoci raw rootless-ls.
umoci raw rootless-ls
We should have a utility command to show the
user.rootlesscontainers
xattr value in a human-readable format.e.g.