NetBSD Problem Report #18529
Received: (qmail 25633 invoked by uid 605); 4 Oct 2002 14:43:44 -0000
Message-Id: <200210041443.g94Ehed29546@jump.tangro.de>
Date: Fri, 4 Oct 2002 16:43:40 +0200 (CEST)
From: hf@tangro.de
Sender: gnats-bugs-owner@netbsd.org
Reply-To: hf@tangro.de
To: gnats-bugs@gnats.netbsd.org
Cc: hf@tangro.de
Subject: Squirrelmail data directory must be owned by web server
X-Send-Pr-Version: 3.95
>Number: 18529
>Category: pkg
>Synopsis: Squirrelmail data directory must be owned by web server
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Oct 04 14:44:00 +0000 2002
>Closed-Date: Sun Oct 20 07:59:35 +0000 2002
>Last-Modified: Sun Oct 20 07:59:35 +0000 2002
>Originator: Hauke Fath <hf@tangro.de>
>Release: NetBSD 1.6_STABLE
>Organization:
Tangro GmbH -- does not speak for me and vice versa.
>Environment:
System: NetBSD jump 1.6_STABLE NetBSD 1.6_STABLE (JUMP) #0: Thu Oct 3 01:53:38 CEST 2002 hf@jump:/usr/src/sys/arch/i386/compile/JUMP i386
Architecture: i386
Machine: i386
>Description:
Squirrelmail stores user specific data in
/var/spool/squirrelmail/data which is unconditionally
chowned/chgrped to 'nobody'.
Since this data is written by whatever user the webserver runs
as, the directory has to be owned by e.g. {APACHE_USER} /
{APACHE_GROUP}.
>How-To-Repeat:
Install Squirrelmail and wonder why preferences are rejected
with an error message.
>Fix:
# $NetBSD: Makefile,v 1.25 2002/09/16 10:07:39 martti Exp $
[...]
OWN_DIRS= ${DATADIR}
OWN_DIRS+= ${SMDIR} ${SMDIR}/config
OWN_DIRS_PERMS= ${ATTACHMENTS_DIR} ${ROOT_USER} nobody 730
OWN_DIRS_PERMS+= ${USER_PREFS_DIR} nobody nobody 755
Substitute 'nobody' with the appropriate make variable.
>Release-Note:
>Audit-Trail:
From: Martti Kuparinen <martti@netbsd.org>
To: gnats-bugs@gnats.netbsd.org
Cc:
Subject: pr/18529 CVS commit: pkgsrc/mail/squirrelmail
Date: Sun, 20 Oct 2002 10:58:37 +0300 (EEST)
Module Name: pkgsrc
Committed By: martti
Date: Sun Oct 20 07:58:36 UTC 2002
Modified Files:
pkgsrc/mail/squirrelmail: Makefile
Log Message:
Correct directory ownership (PR#18529)
To generate a diff of this commit:
cvs rdiff -r1.25 -r1.26 pkgsrc/mail/squirrelmail/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: martti
State-Changed-When: Sun Oct 20 00:59:05 PDT 2002
State-Changed-Why:
Fixed, thanks for reporting this.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.