Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id CECC09FBE18 for ; Fri, 16 Mar 2007 13:22:08 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 97036-05 for ; Fri, 16 Mar 2007 13:21:59 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id E96789FA4F7 for ; Fri, 16 Mar 2007 13:21:58 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id l2GGLl8M007817; Fri, 16 Mar 2007 12:21:47 -0400 (EDT) To: Gerardo Herzig cc: pgsql-sql@postgresql.org Subject: Re: log file permissions? In-reply-to: <45FABCC8.3090901@fmed.uba.ar> References: <45FABCC8.3090901@fmed.uba.ar> Comments: In-reply-to Gerardo Herzig message dated "Fri, 16 Mar 2007 12:50:32 -0300" Date: Fri, 16 Mar 2007 12:21:47 -0400 Message-ID: <7816.1174062107@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200703/234 X-Sequence-Number: 27872 Gerardo Herzig writes: > Hi dudes. I have my pg log file rotation configured so i have a > psql_`today`.log. The thing is, can i configure postgres so the file > permissions (today is 600) could by 640, so developers could login and > tailf the logfile (without using the postgres superuser, course)? You'd have to change the code --- the syslogger process inherits umask 077 from the postmaster. regards, tom lane