Re: [CentOS] File access in Apache 2.4 (clarification)

2017-11-21 Thread Jonathan Billings
On Tue, Nov 21, 2017 at 09:40:27AM -0800, david wrote: > Jonathan > Thanks for the advice. If you recommend NOT to use /tmp for cgi > temporaries, where would you put them and how to name them? And about > SELINUX, I'll consider that, but I'd like to get this working without > SELINUX first. >

Re: [CentOS] File access in Apache 2.4 (clarification)

2017-11-21 Thread Valeri Galtsev
On Tue, November 21, 2017 12:02 pm, Gordon Messmer wrote: > On 11/21/2017 08:42 AM, david wrote: >> SELINUX is disabled. > ... >> Any suggestions? > > Yeah, https://stopdisablingselinux.com/ Ha-ha! I like it! Does anybody remember LIDS:

Re: [CentOS] File access in Apache 2.4 (clarification)

2017-11-21 Thread Gordon Messmer
On 11/21/2017 08:42 AM, david wrote: SELINUX is disabled. ... Any suggestions? Yeah, https://stopdisablingselinux.com/ Also, you *could* run "systemctl edit httpd.service" and enter two lines: [Service] PrivateTmp=false ... if you specifically need to share /tmp.  The alternative is

Re: [CentOS] File access in Apache 2.4 (clarification)

2017-11-21 Thread david
At 09:24 AM 11/21/2017, Jonathan Billings wrote: On Nov 21, 2017, at 11:42, david wrote: > > Folks > > 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

Re: [CentOS] File access in Apache 2.4 (clarification)

2017-11-21 Thread Jonathan Billings
On Nov 21, 2017, at 11:42, david wrote: > > Folks > > 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. > >

[CentOS] File access in Apache 2.4 (clarification)

2017-11-21 Thread david
Folks 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