On Mon, Jan 21, 2019 at 12:52 PM Jacques Montier <[email protected]> wrote: > > > Le lun. 21 janv. 2019 à 11:21, Raffaele Belardi <[email protected]> a > écrit : >> >> >> Well, they are owned by jacques instead of root. Could it be the reason why >> you're asked >> for a password? Maybe some strange interaction with the sandbox? >> >> raffaele > > > > Yes, i noticed that, but how to explain my root password rejected when > emerging bash ? > > I also noticed something strange : > $ ls -al /proc/self/fd > total 0 > dr-x------ 2 jacques jacques 0 21 janv. 11:49 ./ > dr-xr-xr-x 9 jacques jacques 0 21 janv. 11:49 ../ > lrwx------ 1 jacques jacques 64 21 janv. 11:49 0 -> /dev/pts/1 > lrwx------ 1 jacques jacques 64 21 janv. 11:49 1 -> /dev/pts/1 > lrwx------ 1 jacques jacques 64 21 janv. 11:49 2 -> /dev/pts/1 > lr-x------ 1 jacques jacques 64 21 janv. 11:49 3 -> /proc/4461/fd/ > > The /proc/4461 directory does not exist ! > > -- > Jacques >
The /proc/PID directory listed by the ls command is the directory for the process that executed the ls command. See below. % ls -ld /proc/self & [1] 27318 % lrwxrwxrwx 1 root root 0 Sep 24 14:06 /proc/self -> 27318 [1] + Done As for the user/group owning the files in /proc/self, they are owned by the user who initiated the process that created those entries in the proc file system.

