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

Re: [cobalt-users] caddvsite error



"Charles Williams (CEO)" <hosting.mailing.list.account@xxxxxxxxxxxxxxx>
wrote:
> I have been calling 'super' from the php script and when I call 'cadduser'
> it works perfect but when I call 'caddvsite' I get an 'Unable to setgid=0'
> error.  Any idea why this would happen?  Both executables are owned by
> root.root and permission of both are set to 4700. the exec() call uses the
> 'sh' shell on both script calls.

I have missed the rest of the thread, but are you running PHP as a CGI?  If
not and you're running it under the standard port 80 install of Apache that
runs as httpd or nobody your script will have permissions of that owner and
won't be able to execute or write to files it doesn't have permissions for.
Again, I missed the rest of the thread so that might not be the problem, but
I thought I'd mention in case it was.

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/