From owner-freebsd-questions Sat Jul 1 16:36:33 2000 Delivered-To: freebsd-questions@freebsd.org Received: from merlin.prod.itd.earthlink.net (merlin.prod.itd.earthlink.net [207.217.120.156]) by hub.freebsd.org (Postfix) with ESMTP id 28FB037BCB8 for ; Sat, 1 Jul 2000 16:36:28 -0700 (PDT) (envelope-from cjc@earthlink.net) Received: from dialin-client.earthlink.net (pool0324.cvx21-bradley.dialup.earthlink.net [209.179.193.69]) by merlin.prod.itd.earthlink.net (8.9.3-EL_1_3/8.9.3) with ESMTP id QAA15696; Sat, 1 Jul 2000 16:36:25 -0700 (PDT) Received: (from cjc@localhost) by dialin-client.earthlink.net (8.9.3/8.9.3) id QAA01381; Sat, 1 Jul 2000 16:34:57 -0700 (PDT) Date: Sat, 1 Jul 2000 16:34:55 -0700 From: "Crist J. Clark" To: nwerneck@yahoo.com.br Cc: questions@FreeBSD.ORG Subject: Re: user mounting by user account using chmod Message-ID: <20000701163454.E183@dialin-client.earthlink.net> Reply-To: cjclark@alum.mit.edu References: <20000701211302.4C4DF37B691@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000701211302.4C4DF37B691@hub.freebsd.org>; from nwerneck@yahoo.com.br on Fri, Jun 30, 2000 at 09:19:15PM -0300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Jun 30, 2000 at 09:19:15PM -0300, nwerneck@yahoo.com.br wrote: > Hello. > > I'm trying to make /dev/fd0, /dev/acd0 and other devices > accessible by users, and I want to use the chmod way (as > described in the sysadmin FAQ). I used the command > chmod 777 /dev/fd0 and it didn't worked. The chmod(1) did not work? Or after you made the change users still could not access the device? > Another thing: The standard permissions on the files are 640, no > execution, but the faq (or somewhere else, I don't remember) says > that > the x byte must be set in order to mount any devices... Who's right? Show us where it says the device needs to have the execute byte set. > And: can't I just set the permissions to 770, so the su-capable > users would access the devices, and other wouldn't? Sure, that would let users with group ownership of the device use it. I assume that you are talking about devices with group wheel and su-capable users are ones in wheel too. However, you kind of elude to having non-root users use mount(8). Non-root users cannot mount things. This is a feature, not a bug. Accessing a device and mounting it are two very different things. -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message