1 |
On Mon, Jan 21, 2019 at 12:52 PM Jacques Montier <jmontier@×××××.com> wrote: |
2 |
> |
3 |
> |
4 |
> Le lun. 21 janv. 2019 à 11:21, Raffaele Belardi <raffaele.belardi@××.com> a écrit : |
5 |
>> |
6 |
>> |
7 |
>> Well, they are owned by jacques instead of root. Could it be the reason why you're asked |
8 |
>> for a password? Maybe some strange interaction with the sandbox? |
9 |
>> |
10 |
>> raffaele |
11 |
> |
12 |
> |
13 |
> |
14 |
> Yes, i noticed that, but how to explain my root password rejected when emerging bash ? |
15 |
> |
16 |
> I also noticed something strange : |
17 |
> $ ls -al /proc/self/fd |
18 |
> total 0 |
19 |
> dr-x------ 2 jacques jacques 0 21 janv. 11:49 ./ |
20 |
> dr-xr-xr-x 9 jacques jacques 0 21 janv. 11:49 ../ |
21 |
> lrwx------ 1 jacques jacques 64 21 janv. 11:49 0 -> /dev/pts/1 |
22 |
> lrwx------ 1 jacques jacques 64 21 janv. 11:49 1 -> /dev/pts/1 |
23 |
> lrwx------ 1 jacques jacques 64 21 janv. 11:49 2 -> /dev/pts/1 |
24 |
> lr-x------ 1 jacques jacques 64 21 janv. 11:49 3 -> /proc/4461/fd/ |
25 |
> |
26 |
> The /proc/4461 directory does not exist ! |
27 |
> |
28 |
> -- |
29 |
> Jacques |
30 |
> |
31 |
|
32 |
The /proc/PID directory listed by the ls command is the directory for |
33 |
the process that executed the ls command. See below. |
34 |
|
35 |
% ls -ld /proc/self & |
36 |
[1] 27318 |
37 |
% lrwxrwxrwx 1 root root 0 Sep 24 14:06 /proc/self -> 27318 |
38 |
[1] + Done |
39 |
|
40 |
As for the user/group owning the files in /proc/self, they are owned |
41 |
by the user who initiated the process that created those entries in |
42 |
the proc file system. |