reassign 410852 postgresql-common 71
thanks

Hi,

Colin Macdonald [2007-02-14  8:17 +1100]:
> Issue; The default log directory, /var/log/postgresql, is uid:0 gid:0,
> which is counter-intuitive and means that postgres itself has no ability 
> to control the log files, (postgres-run rotation).

This was actually done deliberately since the current infrastructure
does not enforce that a cluster is owned by 'postgres' at all. You can
create a cluster for an arbitrary Unix user.

> Suggestion; Changing either the user or group of the default log 
> directory to reflect postgresql itself, as part of the package 
> installation process.

Hm, I acknowledge that postgres-owned clusters are the common case, so
maybe root:postgres 1775 would be quite appropriate as well. The
sticky bit would still prevent postgres clusters from messing with
non-postgres cluster's log files.

Martin

-- 
Martin Pitt        http://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org

Attachment: signature.asc
Description: Digital signature

Reply via email to