Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Jan 2004 01:13:13 +0000
From:      Stacey Roberts <stacey@vickiandstacey.com>
To:        Gautam Gopalakrishnan <ggop@madras.dyndns.org>
Cc:        Stacey Roberts <stacey@vickiandstacey.com>
Subject:   Re: Mount /cdrom as non-root user - does this actually work for anyone?
Message-ID:  <20040104011313.GJ6131@crom.vickiandstacey.com>
In-Reply-To: <20040104005929.GA70684@madras.dyndns.org>
References:  <20040104005352.GI6131@crom.vickiandstacey.com> <20040104005929.GA70684@madras.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <ggop@madras.dyndns.org>"
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040104011313.GJ6131>