From owner-freebsd-ports Thu May 28 18:37:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA17404 for freebsd-ports-outgoing; Thu, 28 May 1998 18:37:36 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from paris.dppl.com (exim@paris.dppl.com [205.230.74.150]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA17381; Thu, 28 May 1998 18:37:24 -0700 (PDT) (envelope-from yds@ingress.com) Received: from ichiban.ingress.com (ichiban) [205.230.64.31] by paris.dppl.com with smtp (Exim 1.82 #1) id 0yfE6l-0005op-00; Thu, 28 May 1998 21:37:23 -0400 Message-ID: <045901bd8aa2$5269ea90$1f40e6cd@ichiban.ingress.com> From: "Yarema" To: Cc: , Subject: Re: [can not execute /usr/local/libexec/amanda/runtar: Permission denied] Date: Thu, 28 May 1998 21:37:20 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >> I just installed amanda-2.4.0 on a FreeBSD 2.2.6 machine from the FreeBSD >> ports collection. and I'm getting the above error. I've verified that runtar >> is setuid root: >> >> -r-sr-x--- 1 root operator 8192 May 27 20:48 runtar > > >Well, if your amanda user is not in group "operator", then you >will get a permission denied. Hopefully I am not being to basic >here. Please excuse me if I am. Argh!! No, you're not being to basic. For some strange reason user operator on FreeBSD 2.2.6 is in group staff and not in group operator. As far as I can tell user Operator should be in group operator out of the box if the Amanda port is configured to build --with-user=operator --with-group=operator Unless this breaks anything someone at FreeBSD should commit the following patch: --- /usr/src/etc/master.passwd.orig Wed Oct 8 07:34:14 1997 +++ /usr/src/etc/master.passwd Thu May 28 21:32:15 1998 @@ -1,7 +1,7 @@ root::0:0::0:0:Charlie &:/root:/bin/csh toor:*:0:0::0:0:Bourne-again Superuser:/root: daemon:*:1:1::0:0:Owner of many system processes:/root:/nonexistent -operator:*:2:20::0:0:System &:/usr/guest/operator:/bin/csh +operator:*:2:5::0:0:System &:/usr/guest/operator:/bin/csh bin:*:3:7::0:0:Binaries Commands and Source,,,:/:/nonexistent games:*:7:13::0:0:Games pseudo-user:/usr/games:/nonexistent news:*:8:8::0:0:News Subsystem:/:/nonexistent To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message