Re: Changing permissions

From: Date: Sun, 19 Oct 2003 18:37:27 +0000
Subject: Re: Changing permissions
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-166669@lists.php.net to get a copy of this message
How do I run my installer as root? "Eugene Lee" <list-php-1@fsck.net> wrote in message news:20031019135150.GL3063@localhost.Earthlink.net... > 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.

« previous php.general (#166669) next »