You are not logged in.
That too is something I don't customize:
devtmpfs on /dev type devtmpfs (rw,nosuid,size=4096k,nr_inodes=975588,mode=755,inode64)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
$ ls -l /dev/fd
lrwxrwxrwx 1 root root 13 Dec 10 23:25 /dev/fd -> /proc/self/fd
$ ls -l /proc/self/fd
<...>
lr-x------ 1 userName userName 64 Dec 11 11:21 3 -> /proc/71230/fd
I will say that I do "umask", but even setting that to the more normal/generous 022 made no difference (even when that container dir was also changed to 0755).
Other debug findings:
4814 debug: discovered mountpoint: /proc
4827 debug: discovered mountpoint: /<pathToContainerDirInHost>/proc
4828 debug: discovered mountpoint: /<pathToContainerDirInHost>/dev/zero
4829 debug: discovered mountpoint: /<pathToContainerDirInHost>/dev/urandom
4830 debug: discovered mountpoint: /<pathToContainerDirInHost>/dev/tty
4831 debug: discovered mountpoint: /<pathToContainerDirInHost>/dev/random
4832 debug: discovered mountpoint: /<pathToContainerDirInHost>/dev/null
4833 debug: discovered mountpoint: /<pathToContainerDirInHost>/dev/full
4836 debug: discovered mountpoint: /dev/shm
4837 debug: discovered mountpoint: /dev/pts
4838 debug: discovered mountpoint: /dev/mqueue
4839 debug: discovered mountpoint: /dev/hugepages
4840 debug: discovered mountpoint: /dev
//No "/<pathToContainerDirInHost>/dev" like there was with "/proc" and the others like "/sys/" which was also included in the container?
EDIT0: And to add more, I can "arch-chroot -N" in there and "# ls -l /proc/self/fd"
But if I "# ls -l /dev" inside it, it'll give me "lrwxrwxrwx 1 root root 77 Dec 11 18:18 fd -> /<pathToContainerDirInHost>//proc/self/fd" which seems like a weird symlink-thing to do rather than link back to "/proc/<...>" itself.
Last edited by vindicator (2023-12-11 18:22:48)
Offline