From owner-freebsd-stable Sun Dec 5 9:54: 2 1999 Delivered-To: freebsd-stable@freebsd.org Received: from typhoon.mail.pipex.net (typhoon.mail.pipex.net [158.43.128.27]) by hub.freebsd.org (Postfix) with SMTP id 2017B153C7 for ; Sun, 5 Dec 1999 09:53:55 -0800 (PST) (envelope-from mark@dogma.freebsd-uk.eu.org) Received: (qmail 28606 invoked from network); 5 Dec 1999 17:53:53 -0000 Received: from userau27.uk.uudial.com (HELO marder-1.) (62.188.137.229) by smtp.dial.pipex.com with SMTP; 5 Dec 1999 17:53:53 -0000 Received: (from mark@localhost) by marder-1. (8.9.3/8.8.8) id RAA00821 for stable@freebsd.org; Sun, 5 Dec 1999 17:53:54 GMT (envelope-from mark) Date: Sun, 5 Dec 1999 17:53:54 +0000 From: Mark Ovens To: stable@freebsd.org Subject: Non-root mounting of CD-ROMs Message-ID: <19991205175354.B696@marder-1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i Organization: Total lack of Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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)? -- PERL has been described as "the duct tape of the Internet" and "the Unix Swiss Army chainsaw" - Computer Shopper 12/99 ________________________________________________________________ FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://ukug.uk.freebsd.org/~mark/ mailto:mark@ukug.uk.freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message