Subject:
|
Re: PHP help...
|
Newsgroups:
|
lugnet.off-topic.geek
|
Date:
|
Mon, 23 Jul 2001 23:34:49 GMT
|
Viewed:
|
197 times
|
| |
| |
On Mon, Jul 23, 2001 at 09:13:47PM +0000, Bram Lambrecht wrote:
> In lugnet.off-topic.geek, Dan Boger writes:
> > what you need to do is set either the owner or the group of the
> > directory to the webserver's user (nobody, www, apache, whatever). Once
> > that is done, you can give permissions to the server to write to the
> > directory.
> > Does that help?
>
> Yes it does! Now how do run chgrp without telnet...
well, to do a chgrp, you need to have either root access, or be a member
of both groups (the current one and the new one). What you can do
(assuming you can chmod, and that you have cgi access), is chmod a
directory to world writable, and write a cgi that will create a
subdirectory in there... the subdirectory will be created by the web
server, so it'll be owned by/grouped to the webserver... then you can
chmod the parent directory back to "safe" permissions (755), and the
webserver can still write to it's subdirectory :)
does that help? was I rambling?
--
Dan Boger
dan@peeron.com
|
|
Message has 1 Reply: | | Re: PHP help...
|
| (...) That would help, except that I've already made and ftped data to most of the directory. And I'd rather not FTP 25 MB again over my puny 56.6 connection. I've contacted tech support to see if they'll get my telnet access fixed. --Bram Bram (...) (23 years ago, 24-Jul-01, to lugnet.off-topic.geek)
|
Message is in Reply To:
5 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|