Hi David, On Tue, Nov 21, 2017 at 3:19 AM, david <david at daku.org> wrote: > I'm having file-access problems in Apache 2.4 under Centos 7. In > particular: > > - I have a file that's readable to every user and every application, > (writeable by only one user), but my CGI scripts cannot read it. > > - Some of my CGI scripts need temporary storage for some files. They are, > for example, some internal log files, tnat get cleaned up over time, but I > want to be able to look at them (as root). Where would you suggest they be > placed? I've tried /tmp/my_private_files/, and /var/tmp/my_private_files/, > but Apache fails to find even the directory. > in the /usr/lib/systemd/system/httpd.service file change PrivateTmp=true to PrivateTmp=false and then "systemctl daemon-reload" and "systemctl restart httpd" Regards Alex