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

Daniel J. Luke dluke at geeklair.net
Sun Jan 13 08:23:37 PST 2013


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 can certainly mount dmgs as a 'normal' user with hdiutil

--
Daniel J. Luke                                                                   
+========================================================+                        
| *---------------- dluke at geeklair.net ----------------* |                          
| *-------------- http://www.geeklair.net -------------* |                          
+========================================================+                        
|   Opinions expressed are mine and do not necessarily   |                          
|          reflect the opinions of my employer.          |                          
+========================================================+





More information about the macports-dev mailing list