Displaying 5 results from an estimated 5 matches for "my_private_fil".
Did you mean:
my_private_files
2017 Nov 21
3
File access in Apache 2.4
...ser), 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.
Any suggestions?
PS: Centos 6 had no such problems, and the file locations worked just fine.
David
2017 Nov 21
4
File access in Apache 2.4 (clarification)
...ser), 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.
Here's some extra information
SELINUX is disabled.
I modified my CGI script to report where in the path to
/tmp/my_private_files/temp_log.log the process failed. The Perl code I ran is:
my $x = "&quo...
2017 Nov 21
0
File access in Apache 2.4 (clarification)
...ut 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.
>
> Here's some extra information
> SELINUX is disabled.
>
> I modified my CGI script to report where in the path to /tmp/my_private_files/temp_log.log the process failed. The Perl code I ran is:...
2017 Nov 21
1
File access in Apache 2.4 (clarification)
...>
> > - 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.
> >
> > Here's some extra information
> > SELINUX is disabled.
> >
> > I modified my CGI script to report where in
> the path to /tmp/my_private_files/temp_log.log
> the...
2017 Nov 23
0
File access in Apache 2.4
...pts 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