Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Dec 2004 19:16:54 +0100 (CET)
From:      Julien Gabel <jpeg@thilelli.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/75549: [PATCH] New directory DSPAM_HOME mode must be 0770, not 0660.
Message-ID:  <20041227181654.5C2F57302C@titeuf.thilelli.net>
Resent-Message-ID: <200412271820.iBRIKBW9089364@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         75549
>Category:       ports
>Synopsis:       [PATCH] New directory DSPAM_HOME mode must be 0770, not 0660.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 27 18:20:11 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Julien Gabel
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD bento.thilelli.net 5.2.1-RELEASE-p13 FreeBSD 5.2.1-RELEASE-p13 #0: Mon Dec 27 13:35:53 CET 2004     root@bento.thilelli.net:/usr/obj/usr/src/sys/BENTO  i386
>Description:
After a fresh installation of mail/dspam (/var/db/pkg/dspam-3.2.3.20041218.2100_1), it was not possible
to pass trough the new DSPAM_HOME directory, in particular using the User Statistics from the Admin
page of the CGI web suite.
>How-To-Repeat:
Install mail/dspam on a new system or grep 'DSPAM_HOME_MODE?' /usr/ports/mail/dspam/Makefile.
>Fix:
This little modification of the port's Makefile do the trick:
# diff -ruN /usr/ports/mail/dspam/Makefile.orig /usr/ports/mail/dspam/Makefile
--- /usr/ports/mail/dspam/Makefile.orig Mon Dec 27 17:04:51 2004
+++ /usr/ports/mail/dspam/Makefile      Mon Dec 27 17:07:02 2004
@@ -102,7 +102,7 @@
 _VAR_DIR=      /var
 LOG_DIR?=      ${_VAR_DIR}/log/dspam
 DSPAM_HOME?=   ${_VAR_DIR}/db/dspam
-DSPAM_HOME_MODE?=      0660
+DSPAM_HOME_MODE?=      0770
 
 DSPAM_OWNER?=  root
 DSPAM_GROUP?=  mail
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041227181654.5C2F57302C>