How do I run my installer as root?

"Eugene Lee" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Sat, Oct 18, 2003 at 10:28:49PM -0400, zavaboy wrote:
> :
> : Ok, I have a installer that only works if the directory that's being
> : installed to has public writing permissions. I tried chmod() on the
> : directory, but I get a error. How can I make it so my installer can
> : write in a directory with the incorrect writing permissions?
>
> You can't.  That's what permissions are designed to do.
>
> If you can't even chmod the directory, then the directory probably
> doesn't belong to you.  You can't install your stuff into a directory
> that isn't owned by you (or at least in the same group as you).
>
> Otherwise, if it's your system, run your installer as root.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to