devices - What does the output of `ll /proc/self/fd/` (from `ll /dev/fd ...

unix.stackexchange.com

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 ...

Writing to /proc/self/fd/1 and /proc/self/fd/2 in a supervised process ...

github.com

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 ...

command line - What are these auxiliary file descriptors? - Ask Ubuntu

askubuntu.com

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 ...

A cool trick with /proc/self/fd : r/linux

www.reddit.com

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 ...

Unable to see messages logged to STDERR in docker logs · Issue ...

github.com

23 мар. 2021 г. ... log the message does appear there. Things we tried (none of which worked):. replace /dev/stderr with /proc/self/fd/2 ...

View container logs | Docker Docs

docs.docker.com

... 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 ...

linux - Why is /proc/self/fd/N forbidden after setuid? - Stack Overflow

stackoverflow.com

24 февр. 2023 г. ... Inside your program, open files are represented as integer file descriptors. These are the filenames of the entries in the directory: ...

PROBLEM?: "permission denied" when accessing /proc/self/fd ...

groups.google.com

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/ ...

Container (non-root) user can't write to /dev/stdout or /dev/stderr - Fly.io

community.fly.io

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.

proc(5) - Linux manual page

man7.org

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 ...

Поиск Yandex ничего не нашел
Поиск реализован с помощью YandexXML и Google Custom Search API