S semprot Well-Known Member Aug 22, 2016 #1 Aug 22, 2016 #1 I see this error message occasionally in my stderr.log Code: 2016-08-22 04:47:47.975 [STDERR] lscgid: execve():/usr/local/apache/cgi-bin/test-cgi: Permission denied 2016-08-22 04:49:16.917 [STDERR] lscgid: execve():/usr/local/apache/cgi-bin/test-cgi: Permission denied What caused it? Thank you
I see this error message occasionally in my stderr.log Code: 2016-08-22 04:47:47.975 [STDERR] lscgid: execve():/usr/local/apache/cgi-bin/test-cgi: Permission denied 2016-08-22 04:49:16.917 [STDERR] lscgid: execve():/usr/local/apache/cgi-bin/test-cgi: Permission denied What caused it? Thank you
L Long Guest Aug 22, 2016 #2 Aug 22, 2016 #2 The error message basically pops a permission issue. Are you running SELinux? You may refer to this post to get some hints: http://forums.fedoraforum.org/archive/index.php/t-41377.html
The error message basically pops a permission issue. Are you running SELinux? You may refer to this post to get some hints: http://forums.fedoraforum.org/archive/index.php/t-41377.html
S semprot Well-Known Member Aug 22, 2016 #3 Aug 22, 2016 #3 I run normal CENTOS with WHM. When i check the permission of that file, it is 0644. Should i change it? And the file owner is root. Thank you.
I run normal CENTOS with WHM. When i check the permission of that file, it is 0644. Should i change it? And the file owner is root. Thank you.
L Long Guest Aug 22, 2016 #4 Aug 22, 2016 #4 When lscgid tried to run this cgi script it would switch to user nobody. You can try to add the permission to see.
When lscgid tried to run this cgi script it would switch to user nobody. You can try to add the permission to see.
S semprot Well-Known Member Aug 22, 2016 #5 Aug 22, 2016 #5 Long said: When lscgid tried to run this cgi script it would switch to user nobody. You can try to add the permission to see. Click to expand... Ok i have changed it to 0755, i think that should solve the issue? I also wonder what caused call to /usr/local/apache/cgi-bin/test-cgi ? Thank you.
Long said: When lscgid tried to run this cgi script it would switch to user nobody. You can try to add the permission to see. Click to expand... Ok i have changed it to 0755, i think that should solve the issue? I also wonder what caused call to /usr/local/apache/cgi-bin/test-cgi ? Thank you.