Re: SuExec

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

 



On Wed, Feb 3, 2010 at 10:03 AM, Thomas Antony <thomas@xxxxxxxxx> wrote:



Now I have a common drupal codebase located at /srv/htdocs/drupal

I am using this kind of setup - http://drupal.org/node/124268

Only difference being all user directories are at /srv/htdocs as suexec docroot is /srv.

Now the problem is FastCGI. FastCGISuexec has been configured.

at /srv/cgi-bin, a shell script called php-cgi (the wrapper) is there owned by www:www.

When I want to execute php files in /srv/<user>/<site>/public/file.php then it suexec log says - "target uid/gid (500/500) mismatch with directory (501/501) or program (501/501)"

500 is the user, 501 is www.

What's the solution for this ?


Hi,

Maybe the documentation for suEXEC Security Model will help you.
http://httpd.apache.org/docs/2.2/suexec.html


Thomas


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
 "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


I understand the need for this but I just wanted to note that I've tried being a shell user in a suexec environment and it really sucks.  Get ready for lots of support calls.

[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