Bug 75549

Summary: [PATCH] New directory DSPAM_HOME mode must be 0770, not 0660.
Product: Ports & Packages Reporter: Julien Gabel <jpeg>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: itetcu
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Julien Gabel 2004-12-27 18:20:11 UTC
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.

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
How-To-Repeat: Install mail/dspam on a new system or grep 'DSPAM_HOME_MODE?' /usr/ports/mail/dspam/Makefile.
Comment 1 Ion-Mihai " IOnut " Tetcu 2004-12-27 19:59:59 UTC
Thanks for your PRs and for cc'ing me..

Next time please put mail/dspam in the subject (synopsis) to make
searching GNATS DB easier.

I don't know about this one; there are so many ways to setup the CGI ...
I wanted to play the safe-side, but I'm open for arguments.


-- 
IOnut
Unregistered ;) FreeBSD "user"
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2004-12-28 16:56:50 UTC
I think the submitter is pointing out that you have set rw-rw---- on a
*directory*, ie. no execute bit on directory -> unusable directory.

-- 
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>

Me go and see Elves and all! Hooray!
Comment 3 Ion-Mihai " IOnut " Tetcu 2004-12-28 18:30:15 UTC
On Tue, 28 Dec 2004 17:56:50 +0100
Pav Lucistnik <pav@FreeBSD.org> wrote:

> I think the submitter is pointing out that you have set rw-rw---- on a
> *directory*, ie. no execute bit on directory -> unusable directory.

Yes, I have figure it out :) 
(and discussed all his PRs) yesterday.

I'm working on updates for both dspam ports that will include OP's PRs.

But thanks for your mail,

-- 
IOnut
Unregistered ;) FreeBSD "user"
Comment 4 Pav Lucistnik freebsd_committer freebsd_triage 2004-12-28 18:43:02 UTC
State Changed
From-To: open->closed

Maintainer will take this PR into account in his next update.