Re: Using system call + wrapper?

Поиск
Список
Период
Сортировка
От Dan Wilson
Тема Re: Using system call + wrapper?
Дата
Msg-id 004601c0a01a$d73e92d0$533987cf@corp.peoplesoft.com
обсуждение исходный текст
Ответ на Re: Using system call + wrapper?  (David Olbersen <dave@slickness.org>)
Список pgsql-php
: On Mon, 26 Feb 2001, Richie wrote:
:
: -> /usr/local/apache/htdocs/project/images/.
: ->
: ->My problem is that you need sudo access to save anything to this
: ->directory
:
: 'chown <HTTP USER> /usr/local/apache/htdocs/project/images/'
: 'chmod 755 /usr/local/apache/htdocs/project/images/'
:
: That should take care of the problem, shouldn't it?
:
: -- Dave

That would take care of it, but then you just blocked any normal FTP access
into that directory.

I would:

'chgrp [HTTPD USER] /usr/local/apache/htdocs/project/images'
'chmod g+w /usr/local/apache/htdocs/project/images'

That way, the current user still has control, but the HTTPD user also has
write access.

-Dan


В списке pgsql-php по дате отправления:

Предыдущее
От: "Adam Lang"
Дата:
Сообщение: Re: Using system call + wrapper?
Следующее
От: Steve Bern
Дата:
Сообщение: Re: Using system call + wrapper?