Date: Tue, 9 Dec 2003 09:46:56 +0800 (CST) From: Alex Chen <dhchen@elearning.nsysu.edu.tw> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/60059: the permission of /var/log/maillog on 5.2 prevents /usr/ports/mail/mailgraph to read Message-ID: <20031209014656.97E6D68C2@elearning.nsysu.edu.tw> Resent-Message-ID: <200312090150.hB91o44E010326@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 60059 >Category: ports >Synopsis: the permission of /var/log/maillog on 5.2 prevents /usr/ports/mail/mailgraph to read >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Dec 08 17:50:03 PST 2003 >Closed-Date: >Last-Modified: >Originator: Alex Chen >Release: FreeBSD 4.9-STABLE i386 >Organization: None >Environment: System: FreeBSD elearning.nsysu.edu.tw 4.9-STABLE FreeBSD 4.9-STABLE #14: Mon Nov 24 08:58:44 CST 2003 root@elearning.nsysu.edu.tw:/usr/obj/usr/src/sys/KM i386 >Description: In ver 1.35's /etc/newsyslog.conf, /var/log/maillog's permission is modified from 0644 to 0640, but this modification prevents /usr/ports/mail/mailgraph to read /var/log/maillog (it is run as www:www) >How-To-Repeat: on 5.2(it seems all HEAD branches have the same problem): cd /usr/ports/mail/mailgraph && make install clean mv /usr/local/etc/rc.d/mailgraph.sh.sample /usr/local/etc/rc.d/mailgraph.sh /usr/local/etc/rc.d/mailgraph.sh start >Fix: 2 way to solve this problem: 1.chmod 0644 /var/log/maillog && vi /etc/newsyslog.conf 2.add user www to group wheel >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031209014656.97E6D68C2>