From owner-freebsd-bugs Thu Jun 21 20: 3:14 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from kendra.ne.mediaone.net (kendra.ne.mediaone.net [24.218.227.234]) by hub.freebsd.org (Postfix) with ESMTP id 05C4537B401; Thu, 21 Jun 2001 20:03:12 -0700 (PDT) (envelope-from ahd@kew.com) Received: from xena (xena.hh.kew.com [192.168.203.148]) by kendra.ne.mediaone.net (Postfix) with SMTP id 18C5415534; Thu, 21 Jun 2001 23:03:11 -0400 (EDT) Message-ID: <000a01c0fac7$decdd080$94cba8c0@xena> From: "Drew Derbyshire" To: "Greg Lehey" Cc: References: <200106212240.f5LMe3m34044@freefall.freebsd.org> <20010622113829.L57186@wantadilla.lemis.com> Subject: Re: bin/28294: dump of vinum based file systems by device name fails Date: Thu, 21 Jun 2001 23:03:10 -0400 Organization: Kendra Electronic Wonderworks (http://www.kew.com/kendra) 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 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > The problem is in vinum itself -- it builds the volume device nodes wrong, > > with an owner group of wheel instead of operator. This prevents non-root > > members of operator from accessing the drives. > > Can you confirm that dump works when you do a chmod? You don't want to alter the mode of the nodes (chmod), but rather alter the group (via chown). In any case, dump works on vinum devices with the altered group. I'm looking at my fresh amanda tapes sitting on my desk. I spotted it by trying a dump and seeing it work (I happened to be root, not operator). Once that made me realize I did not have a name problem, the symptoms were consistent with an access problem ... and the chgrp fix worked. My workaround is to issue a chgrp command via cron immediately before each amanda run to override any remake of the nodes at boot. Tacky, but it should work until the proper fix goes in. :-) -ahd- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message