Re: Changing permissions
| From: | Eugene Lee | Date: | Sun, 19 Oct 2003 19:13:27 +0000 |
| Subject: | Re: Changing permissions | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-166674@lists.php.net to get a copy of this message | ||
On Sun, Oct 19, 2003 at 02:37:27PM -0400, zavaboy wrote:
: "Eugene Lee" <list-php-1@fsck.net> 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.