lscgid: execve() Error

semprot

Well-Known Member
#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
 

semprot

Well-Known Member
#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.
 
L

Long

Guest
#4
When lscgid tried to run this cgi script it would switch to user nobody.
You can try to add the permission to see.
 

semprot

Well-Known Member
#5
When lscgid tried to run this cgi script it would switch to user nobody.
You can try to add the permission to see.
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.
 
Top