Graham Leggett wrote:

> This code makes the incorrect assumption that the platform will allow the
> postgres user to set the permissions using chmod.

> What this code should be doing is checking that the permissions on the
> directory are 0700, and failing if they are not, leaving it up to the user
> to fix the problem.
> 
> Redhat Enterprise Linux 5 refuses to allow a user to chmod a directory, even
> though that user owns that directory. In addition, if SELinux is enabled,
> this gives a further reason why the code will fail.

Is this something we should do anything about?

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply via email to