From owner-freebsd-questions Sat Nov 30 7:50:57 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D5D2037B401 for ; Sat, 30 Nov 2002 07:50:55 -0800 (PST) Received: from sccrmhc02.attbi.com (sccrmhc02.attbi.com [204.127.202.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10F0343EAF for ; Sat, 30 Nov 2002 07:50:55 -0800 (PST) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com[24.147.188.198]) by sccrmhc02.attbi.com (sccrmhc02) with ESMTP id <2002113015505400200snbhje>; Sat, 30 Nov 2002 15:50:54 +0000 Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.198] (may be forged)) by be-well.ilk.org (8.12.6/8.12.6) with ESMTP id gAUForRC019315; Sat, 30 Nov 2002 10:50:53 -0500 (EST) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.6/8.12.6/Submit) id gAUFoqCe019312; Sat, 30 Nov 2002 10:50:52 -0500 (EST) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f To: freebsd-questions@freebsd.org, idiot1@netzero.net Subject: Re: furter data on permissions References: <3DE846DB.6020206@netzero.net> From: Lowell Gilbert Date: 30 Nov 2002 10:50:51 -0500 In-Reply-To: <3DE846DB.6020206@netzero.net> Message-ID: <44of87qco4.fsf@be-well.ilk.org> Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Kirk Bailey writes: > The aliases file is owned by root. a ls-l quote: > ns# cd /etc/mail/ > ns# ls -l aliases > -rw-r--r-- 1 root wheel 7550 Nov 12 01:12 aliases > ns# > > > I even tried to set it as 5755, still no luck, the thing cannot set a > temp file in that directory. > > here is the permissions for /mail: > ns# ls -ld mail > drwxr-xr-x 5 root wheel 1024 Nov 5 02:23 mail > ns# > > Any ideas? Well, this is all what I'd expect because scripts on FreeBSD (and pretty much all other Unix-ish systems) won't respect setuid permissions (it's too much of a security hole in practice). Apache has some sort of setuid facility of its own for dealing with this. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message