Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Jun 2009 22:01:13 +0200
From:      Peter Boosten <peter@boosten.org>
To:        Roland Smith <rsmith@xs4all.nl>
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:  <4A2ACB09.1070500@boosten.org>
In-Reply-To: <20090606191241.GB21767@slackbox.xs4all.nl>
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> <20090606191241.GB21767@slackbox.xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Roland Smith wrote:
> 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
>>> Regular users don't have read/write permissions on /dev/mdctl.
>>>
>>> So either change those permissions so that your user-id has those
>>> permissions, or run mdconfig as root.
>>>
>> 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.
> 

Ah, yeah, you're right. Sorry, missed that one.

Peter

-- 
http://www.boosten.org



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