pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dan Wilson <phpPgAdmin@acucore.com>
To: David Olbersen <dave@slickness.org>
To: Richie <dugganr@student.cs.ucc.ie>
Cc: pgsql-php@postgresql.org
Subject: Re: Using system call + wrapper?
Date: Mon, 26 Feb 2001 10:37:50 -0700
Message-ID: <004601c0a01a$d73e92d0$533987cf@corp.peoplesoft.com> (raw)
References: <Pine.LNX.4.31.0102260924350.11124-100000@bubbles.electricutopia.net>

: 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




view thread (7+ messages)  latest in thread

Message-ID: <004601c0a01a$d73e92d0$533987cf@corp.peoplesoft.com>
Permalink:  ../004601c0a01a$d73e92d0$533987cf@corp.peoplesoft.com/
Also on:    postgresql.org/message-id/004601c0a01a$d73e92d0$533987cf@corp.peoplesoft.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: phpPgAdmin@acucore.com, dave@slickness.org, dugganr@student.cs.ucc.ie
  Subject: Re: Using system call + wrapper?
  In-Reply-To: <004601c0a01a$d73e92d0$533987cf@corp.peoplesoft.com>
  References: <Pine.LNX.4.31.0102260924350.11124-100000@bubbles.electricutopia.net> <004601c0a01a$d73e92d0$533987cf@corp.peoplesoft.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox