I am using php-fpm
with PrivateTmp enabled. I have to read a file from PHP, which is copied by a remote deployment agent to the /tmp
directory. Since PrivateTmp is enabled, I am unable to directly access /tmp
directory.
Is it possible to read a file from the system /tmp
folder when PrivateTmp is enabled? I tried creating a symbolic link to /tmp
at /var/temp
and accessing the file through /var/temp
, but it did not work. /var/tmp
is currently bind mounted from /tmp
, and I also tried accessing the file through /var/tmp
without any success.