Re: Cannot run CGI scripts in user directory

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

 



On Sun, May 22, 2016 at 6:03 AM, Nick Kew <nick@xxxxxxxxxxxx> wrote:
[cut]

Nick, thanks for your help, but in the end I solved.

It was an issue with the permissions, that involved the suEXEC
mechanism. I didn't know about suexec and I found out that some
relevant information goes in the system log instead of the apache
error log, in fact


# journalctl -b | grep "suexec"
May 22 11:43:12 caladan suexec[5397]: uid: (1000/user) gid:
(1000/user) cmd: test.cgi
May 22 11:43:12 caladan suexec[5397]: directory is writable by others:
(/home/user/public_html/cgi-bin)

I just had to change ~/public_html/cgi-bin directory permission to
755. It was 775 and I didn't realize it.

Thanks again,
cheers
~Ale

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux