Re: Using system call + wrapper?

From: "Dan Wilson" <phpPgAdmin(at)acucore(dot)com>
To: "David Olbersen" <dave(at)slickness(dot)org>, "Richie" <dugganr(at)student(dot)cs(dot)ucc(dot)ie>
Cc: <pgsql-php(at)postgresql(dot)org>
Subject: Re: Using system call + wrapper?
Date: 2001-02-26 17:37:50
Message-ID: 004601c0a01a$d73e92d0$533987cf@corp.peoplesoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-php by date

  From Date Subject
Next Message Steve Bern 2001-02-26 19:25:59 Re: Using system call + wrapper?
Previous Message Adam Lang 2001-02-26 17:37:26 Re: Using system call + wrapper?