Re: Using system call + wrapper? - Mailing list pgsql-php

From Dan Wilson
Subject Re: Using system call + wrapper?
Date
Msg-id 004601c0a01a$d73e92d0$533987cf@corp.peoplesoft.com
Whole thread Raw
In response to Re: Using system call + wrapper?  (David Olbersen <dave@slickness.org>)
List 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 by date:

Previous
From: "Adam Lang"
Date:
Subject: Re: Using system call + wrapper?
Next
From: Steve Bern
Date:
Subject: Re: Using system call + wrapper?