From owner-freebsd-questions@FreeBSD.ORG Sat Jan 3 17:00:57 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E851A16A4CE for ; Sat, 3 Jan 2004 17:00:57 -0800 (PST) Received: from madras.dyndns.org (dsl-137.241.240.220.dsl.comindico.com.au [220.240.241.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id C9AE943D45 for ; Sat, 3 Jan 2004 17:00:52 -0800 (PST) (envelope-from ggop@madras.dyndns.org) Received: from madras.dyndns.org (localhost [127.0.0.1]) by madras.dyndns.org (8.12.9p1/8.12.9) with ESMTP id i040xXDq070699; Sun, 4 Jan 2004 11:59:33 +1100 (EST) (envelope-from ggop@madras.dyndns.org) Received: (from ggop@localhost) by madras.dyndns.org (8.12.9p1/8.12.9/Submit) id i040xVLL070698; Sun, 4 Jan 2004 11:59:31 +1100 (EST) Date: Sun, 4 Jan 2004 11:59:29 +1100 From: Gautam Gopalakrishnan To: Stacey Roberts Message-ID: <20040104005929.GA70684@madras.dyndns.org> References: <20040104005352.GI6131@crom.vickiandstacey.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040104005352.GI6131@crom.vickiandstacey.com> User-Agent: Mutt/1.4.1i cc: freebsd-questions@freebsd.org Subject: Re: Mount /cdrom as non-root user - does this actually work for anyone? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jan 2004 01:00:58 -0000 On Sun, Jan 04, 2004 at 12:53:52AM +0000, Stacey Roberts wrote: > Hello, > As root I can mount and read the CD fine.., checking for non-root user: > exit > ~ $ mount /cdrom > cd9660: /dev/acd0c: Operation not permitted > ~ $ mount -t cd9660 /dev/acd0c ~/cdrom > cd9660: /dev/acd0c: Operation not permitted > ~ $ > > Attempting to mount to mount-point in user home dir: > ~ $ cd ~ > ~ $ pwd > /home/stacey > ~ $ ls -ltra cdrom > total 6 > drwxr-xr-x 2 stacey stacey 512 Jan 3 23:50 ./ > drwxr-xr-x 31 stacey stacey 2560 Jan 3 23:50 ../ > ~ $ mount -t cd9660 /dev/acd0c ~/cdrom > cd9660: /dev/acd0c: Operation not permitted > ~ $ chmod +s /sbin/umount /sbin/mount works fine for me (without any other changes necessary). Don't know if it's the recommended procedure though. Gautam