From owner-freebsd-questions@FreeBSD.ORG Sat Jan 3 17:13:36 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 658FC16A4CE for ; Sat, 3 Jan 2004 17:13:36 -0800 (PST) Received: from heisenberg.zen.co.uk (heisenberg.zen.co.uk [212.23.8.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 68AF543D54 for ; Sat, 3 Jan 2004 17:13:34 -0800 (PST) (envelope-from stacey@vickiandstacey.com) Received: from 82-68-31-178.dsl.in-addr.zen.co.uk ([82.68.31.178] helo=crom.vickiandstacey.com) by heisenberg.zen.co.uk with esmtp (Exim 4.22) id 1Acwpg-0006b4-A2; Sun, 04 Jan 2004 01:13:32 +0000 Received: from crom.vickiandstacey.com (localhost [127.0.0.1]) i041DLCi058915; Sun, 4 Jan 2004 01:13:26 GMT (envelope-from stacey@crom.vickiandstacey.com) Received: (from stacey@localhost) by crom.vickiandstacey.com (8.12.10/8.12.10/Submit) id i041DDWq058914; Sun, 4 Jan 2004 01:13:13 GMT (envelope-from stacey) Date: Sun, 4 Jan 2004 01:13:13 +0000 From: Stacey Roberts To: Gautam Gopalakrishnan Message-ID: <20040104011313.GJ6131@crom.vickiandstacey.com> References: <20040104005352.GI6131@crom.vickiandstacey.com> <20040104005929.GA70684@madras.dyndns.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="qVyHzDF4yf4A8jkR" Content-Disposition: inline In-Reply-To: <20040104005929.GA70684@madras.dyndns.org> User-Agent: Mutt/1.4.1i X-Originating-Heisenberg-IP: [82.68.31.178] cc: freebsd-questions@freebsd.org cc: Stacey Roberts 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:13:36 -0000 --qVyHzDF4yf4A8jkR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, Thanks for the reply.., ----- Original Message ----- From: "Gautam Gopalakrishnan " To: To Stacey Roberts Date: Sun, 04 Jan, 2004 00:59 GMT Subject: Re: Mount /cdrom as non-root user - does this actually work for an= yone? > 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 > > ~ $ > >=20 > > 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 > > ~ $ >=20 > chmod +s /sbin/umount /sbin/mount >=20 > works fine for me (without any other changes necessary). Don't know > if it's the recommended procedure though. >=20 Nor I, to be honest.., I'm not sure about setting the suid bit on mount.., = Given that the HandBook provides what I thought would have been straight-fo= rward instructions on what (presumably) is I hoped is a simple procedure..,= I'd not want to start making undocumented config changes. Thanks all the same for taking the time to respond. Regards, Stacey > Gautam >=20 --=20 Stacey Roberts B. Sc (HONS) Computer Science Web: www.vickiandstacey.com --qVyHzDF4yf4A8jkR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 iQEVAwUBP/dop33Q4C/Onfd9AQHMXAf7BXkdKieXVSqHis9gwCcU9h/a1Hs9Rny5 mstDOEnrmgvA0PfxRSaHlX2/k+a9ZV5guJDONFHGxcoyFIQ+2WhoIdFkCcJjeqzG zKrQrLLroXLd5wUysnneEnpjUelKJ+qlTcEeTKcfmyQuZhe+un7RreyE9X4B/c5N 47Ec5pG8lIXHU/uMe189KKZawQ43+1TvSjjoa86j9UzEzCnDWfbMxsUj4YJxv9uq SjvfsNjoLikZ3jza03076tWFmcxZmgG/QZ/XJcoSoYfiG9y6UxBWU4/ZXiCPdjxV XDHkLOMyeMBAtWI7+AA0kp9ywlOaYwh3IhFdqGDvzqCI+t/1WaD98w== =5bam -----END PGP SIGNATURE----- --qVyHzDF4yf4A8jkR--