[101504] trunk/base/src/port1.0/portextract.tcl

Blair Zajac blair at orcaware.com
Sun Jan 13 09:24:36 PST 2013


On 01/13/2013 08:23 AM, Daniel J. Luke wrote:
> On Jan 11, 2013, at 11:19 PM, blair at macports.org wrote:
>>
>> portextract::extract_main: use_dmg fails to mount DMG is user isn't root.
>>
>> The MacPorts user may not be able to mount a DMG with hdiutil; it will
>> fail with an "hdiutil: attach failed - Device not configured" error.
>> So only if a DMG is being used, elevate back to root to do the mount
>> and unmount the DMG.
>
> Is this only with specific dmgs? (or is it something specific to the way the macports user is set up?)

I think its the way the the macports user is set up.  I was going to add 
it to the admin group and try it again.

> I can certainly mount dmgs as a 'normal' user with hdiutil

Me too.

Blair



More information about the macports-dev mailing list