Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jun 2009 21:12:41 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        Peter Boosten <peter@boosten.org>
Cc:        glyn@millingtons.org, bf <bf2006a@yahoo.com>, Daniel Underwood <djuatdelta@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: Installing latest version of LaTeX
Message-ID:  <20090606191241.GB21767@slackbox.xs4all.nl>
In-Reply-To: <4A2AAFA3.7080502@boosten.org>
References:  <900923.129.qm@web39101.mail.mud.yahoo.com> <86prdhuazk.fsf@nowhere.org> <b6c05a470906061046g7a23529esaded539a48b94125@mail.gmail.com> <20090606180108.GA20291@slackbox.xs4all.nl> <4A2AAFA3.7080502@boosten.org>

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

--rJwd6BRFiFCcLxzm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Jun 06, 2009 at 08:04:19PM +0200, Peter Boosten wrote:
> Roland Smith wrote:
> > On Sat, Jun 06, 2009 at 01:46:36PM -0400, Daniel Underwood wrote:
> >> Having trouble mounting the ISO:
> >>
> >> [daniel@bsdbox ~]$ sudo mount_cd9660 -o ro /dev/`mdconfig -a -t vnode
> >> -f ./texlve2008.iso` ./mount/
> >> mdconfig: open(/dev/mdctl): Permission denied
> >=20
> > Regular users don't have read/write permissions on /dev/mdctl.
> >=20
> > So either change those permissions so that your user-id has those
> > permissions, or run mdconfig as root.
> >=20
>=20
> Hmmm, one might think that 'sudo' does exactly that ;-)

It does that for the mount_cd9660 command, but _before_ sudo it called,
the code between backticks is executed by the shell as the regular user.
I thought that was obvious, so I didn't mention it.

Roland
--=20
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

--rJwd6BRFiFCcLxzm
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)

iEYEARECAAYFAkoqv6gACgkQEnfvsMMhpyUTrwCgr/qiR966z3g5D9NeFnfFZz2/
RqcAoKWwKhh+zoTwnGb2NGbfqyBHc1OE
=oYWS
-----END PGP SIGNATURE-----

--rJwd6BRFiFCcLxzm--



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