Dave's Brain

Browse - Programming Tips - My PHP program can see its temporary files -- but when logged in I can not see them -- why?

Date: 2012dec27
OS: Linux
Distro: RedHat/Fedora/CentOS

Q.  My PHP program can see its temporary files -- but when logged in I can not see them -- why?

A.  Apache might be running with PrivateTmp on.

Set in /etc/systemd/system/multi-user.target.wants/httpd.service with:

[Service] PrivateTmp=true
Gives each each process its own view of /tmp and /var/tmp

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.