On Sun, Oct 19, 2003 at 02:37:27PM -0400, zavaboy wrote: : "Eugene Lee" <[EMAIL PROTECTED]> wrote: : > 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. : : How do I run my installer as root?
This question is outside the scope of PHP. You should go to the bookstore and pick up a book on Unix. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php