Just a speculation but /tmp is usually world-writable which leads me to suspect 
SELinux (or AppArmor with other distros.)

----- Original Message -----
From: "Jerry Geis" <jerry.g...@gmail.com>
To: "CentOS mailing list" <centos@centos.org>
Sent: Friday, January 20, 2017 7:29:02 AM
Subject: [CentOS] CentOS 7 httpd cgi script file not able to write to /tmp

Hi all,

I have a script running in httpd. The script runs fine.
However I want to "echo" some debug information into a file.
The file is never created.

Is there some security thing that has to be enable/disabled to allow a
script in httpd to write to a file?

Thanks,

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

Reply via email to