Re: CentOS 7 httpd cgi script file not able to write to /tmp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxx> wrote:

Hi - Thanks for the reply.

I actually have selinux disabled on this box.

Jerry


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos

--


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

dboth@xxxxxxxxxxxxxxxxxxxxxxxxx

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.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux