9 нояб. 2021 г. ... /proc/self/fd reports the files opened by a process. Each entry is a “magic” symbolic link whose name is the file descriptor and whose target is ...
26 янв. 2017 г. ... It appears that /proc/self/fd/{1,2} are not writeable from within a supervised process. phpfpm is notorious for not outputting any ...
1 янв. 2017 г. ... When you do /proc/self/fd/* , the shell expands the wildcard, so it's listing its own file descriptors. But when these are passed to another ...
12 апр. 2014 г. ... I thought it was a neat trick to write to stderr with /proc/self/2, but at work, we always install stuff as a shared user id dedicated to the ...
23 мар. 2021 г. ... log the message does appear there. Things we tried (none of which worked):. replace /dev/stderr with /proc/self/fd/2 ...
... proc/self/fd/1 (which is STDOUT ) and its errors to /proc/self/fd/2 (which is STDERR ). See the Dockerfile . Next steps. Configure logging drivers. Write a ...
24 февр. 2023 г. ... Inside your program, open files are represented as integer file descriptors. These are the filenames of the entries in the directory: ...
7 авг. 2008 г. ... ... proc/self/fd/2 /dev/pts/2 crw------- 1 1000 5 136, 2 2008-08-07 15:36 /dev/pts/2 lrwx------ 1 0 0 64 2008-08-07 15:36 /proc/self/fd/2 -> /dev/ ...
26 янв. 2023 г. ... Actually, those unrelated errors were entirely due to a separate process, PHP-FPM, also writing to /proc/self/fd/2 and being denied permission.
Most systems provide symbolic links /dev/stdin, /dev/stdout, and /dev/stderr, which respectively link to the files 0, 1, and 2 in /proc/self/fd. Thus the ...