From owner-freebsd-stable Sun Dec 5 10:20:40 1999 Delivered-To: freebsd-stable@freebsd.org Received: from pluto.psn.net (pluto.psn.net [207.211.58.12]) by hub.freebsd.org (Postfix) with ESMTP id 4619715409 for ; Sun, 5 Dec 1999 10:20:37 -0800 (PST) (envelope-from will@shadow.blackdawn.com) Received: from 14-111.008.popsite.net ([209.69.195.111] helo=shadow.blackdawn.com) by pluto.psn.net with esmtp (PSN Internet Service 3.03 #1) id 11ugGo-0003SE-00; Sun, 05 Dec 1999 11:20:31 -0700 Received: (from will@localhost) by shadow.blackdawn.com (8.9.3/8.9.3) id NAA16924; Sun, 5 Dec 1999 13:19:33 -0500 (EST) (envelope-from will) Message-ID: X-Mailer: XFMail 1.3.1 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <19991205175354.B696@marder-1> Date: Sun, 05 Dec 1999 13:19:24 -0500 (EST) Reply-To: Will Andrews From: Will Andrews To: Mark Ovens Subject: RE: Non-root mounting of CD-ROMs Cc: stable@FreeBSD.ORG Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 05-Dec-99 Mark Ovens wrote: > A thread on the UK User Group mailing list about non-root users > mounting CD-ROMs included posts from a couple of people running > -STABLE who could do this. I tried and it doesn't work for me. A > ktrace(1) showed the call to mount(2) returning EPERM, which is what I > would expect. > > After several posts we established that the only differences we could > find between my setup and theirs is that I'm using a SCSI CD-ROM and > they both have IDE. Additionally, their systems were cvsup'd more > recently than mine (mine was around the end of September) and no-one > has made /sbin/mount* setuid. > > A look through the CVS logs on the web-site shows that there have been > quite a few changes to mount in the last couple of months. > > So, the question is, should a non-root user be able to mount a CD-ROM > (without making /sbin/mount* setuid)? sudo? -- Will Andrews GCS/E/S @d- s+:+>+:- a--->+++ C++ UB++++ P+ L- E--- W+++ !N !o ?K w--- ?O M+ V-- PS+ PE++ Y+ PGP+>+++ t++ 5 X++ R+ tv+ b++>++++ DI+++ D+ G++>+++ e->++++ h! r-->+++ y? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message