[CentOS] CentOS 7 httpd cgi script file not able to write to /tmp

Fri Jan 20 15:34:15 UTC 2017
David Both <dboth at millennium-technology.com>

The behavior you describe should be normal for any web server, as it is 
for Apache, which is what I use. It is a security feature that prevents 
malicious attacks on a web server from writing malware anywhere else in 
the filesystem and possibly gaining elevated privileges.


On 01/20/2017 10:19 AM, Jerry Geis wrote:
> Fun fact... If I echo my data to the same directory as the script is
> located in it works. But it does not allow writing to /tmp
>
> I'm good with that.
>
> Thanks,
>
> Jerry
>
> On Fri, Jan 20, 2017 at 9:54 AM, Jerry Geis <jerry.geis at gmail.com> wrote:
>
>> Hi - Thanks for the reply.
>>
>> I actually have selinux disabled on this box.
>>
>> Jerry
>>
>>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos

-- 


*********************************************************
David P. Both, RHCE
Millennium Technology Consulting LLC
Raleigh, NC, USA
919-389-8678

dboth at millennium-technology.com

www.millennium-technology.com
www.databook.bz - Home of the DataBook for Linux
DataBook is a Registered Trademark of David Both
*********************************************************
This communication may be unlawfully collected and stored by the National
Security Agency (NSA) in secret. The parties to this email do not consent to the
retrieving or storing of this communication and any related metadata, as well as
printing, copying, re-transmitting, disseminating, or otherwise using it. If you
believe you have received this communication in error, please delete it
immediately.