Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-php by date

Next:From: Steve BernDate: 2001-02-26 19:25:59
Subject: Re: Using system call + wrapper?
Previous:From: Adam LangDate: 2001-02-26 17:37:26
Subject: Re: Using system call + wrapper?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group