create a directory NOT owned by the webserver user
| From: | Keith Vance | Date: | Fri, 09 Mar 2001 21:50:00 +0000 |
| Subject: | create a directory NOT owned by the webserver user | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-43218@lists.php.net to get a copy of this message | ||
How do I create a directory which is owned by a user other than the user
which is running the webserver?
The "other" user will change all the time. So I need to be able to set the
ownership of a directory, on-the-fly.
I have searched the Internet and I have run across things like creating c
wrappers and perl scripts using suidperl. I really really want to stay in
the PHP world for this, so does anyone have any suggestions of what I can
do to make this happen. I don't have a problem with using other languages
to accomplish this, I would just prefer to stick with PHP on this one.
I am running the latest everything, PHP and Apache on Linux of course.
Keith