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

2013-01-15 Thread Ryan Schmidt
On Jan 15, 2013, at 23:10, Blair Zajac wrote: > I used the find | cpio approach in > > https://trac.macports.org/changeset/101649 and > https://trac.macports.org/changeset/101650 > > I spent a bunch of time trying different approaches and the committed > approach looks to be the best. It does

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

2013-01-15 Thread Sean Farley
On Tue, Jan 15, 2013 at 11:10 PM, Blair Zajac wrote: > On 01/14/2013 08:32 PM, Blair Zajac wrote: >> >> On 01/14/2013 05:33 PM, Sean Farley wrote: >>> >>> On Mon, Jan 14, 2013 at 11:09 AM, Blair Zajac wrote: On 01/13/2013 06:46 PM, Ryan Schmidt wrote: > > > > On Jan 13,

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

2013-01-15 Thread Blair Zajac
On 01/14/2013 08:32 PM, Blair Zajac wrote: On 01/14/2013 05:33 PM, Sean Farley wrote: On Mon, Jan 14, 2013 at 11:09 AM, Blair Zajac wrote: On 01/13/2013 06:46 PM, Ryan Schmidt wrote: On Jan 13, 2013, at 18:53, Blair Zajac wrote: On 01/13/2013 03:36 PM, Ryan Schmidt wrote: https://trac.m

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

2013-01-14 Thread Blair Zajac
On 01/14/2013 05:33 PM, Sean Farley wrote: On Mon, Jan 14, 2013 at 11:09 AM, Blair Zajac wrote: On 01/13/2013 06:46 PM, Ryan Schmidt wrote: On Jan 13, 2013, at 18:53, Blair Zajac wrote: On 01/13/2013 03:36 PM, Ryan Schmidt wrote: https://trac.macports.org/ticket/21117 I think the proble

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

2013-01-14 Thread Sean Farley
On Mon, Jan 14, 2013 at 11:09 AM, Blair Zajac wrote: > On 01/13/2013 06:46 PM, Ryan Schmidt wrote: >> >> >> On Jan 13, 2013, at 18:53, Blair Zajac wrote: >> >>> On 01/13/2013 03:36 PM, Ryan Schmidt wrote: >>> https://trac.macports.org/ticket/21117 I think the problem still remains w

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

2013-01-14 Thread Sean Farley
On Mon, Jan 14, 2013 at 9:07 AM, Rainer Müller wrote: > On 2013-01-14 09:20, Sean Farley wrote: >> $ /usr/bin/find . -mindepth 1 -maxdepth 1 ! -perm -01000 -exec cp -R {} /tmp >> \; >> >> I think all we really need to do in cases like these are ignore files >> / directories that have the sticky b

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

2013-01-14 Thread Blair Zajac
On 01/13/2013 06:46 PM, Ryan Schmidt wrote: On Jan 13, 2013, at 18:53, Blair Zajac wrote: On 01/13/2013 03:36 PM, Ryan Schmidt wrote: https://trac.macports.org/ticket/21117 I think the problem still remains when you have a non-root MacPorts installation; that's the configuration I was usin

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

2013-01-14 Thread Blair Zajac
On 01/14/2013 07:07 AM, Rainer Müller wrote: On 2013-01-14 09:20, Sean Farley wrote: $ /usr/bin/find . -mindepth 1 -maxdepth 1 ! -perm -01000 -exec cp -R {} /tmp \; I think all we really need to do in cases like these are ignore files / directories that have the sticky bit set. The problem is

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

2013-01-14 Thread Rainer Müller
On 2013-01-14 09:20, Sean Farley wrote: > $ /usr/bin/find . -mindepth 1 -maxdepth 1 ! -perm -01000 -exec cp -R {} /tmp > \; > > I think all we really need to do in cases like these are ignore files > / directories that have the sticky bit set. The problem is not the sticky bit, but the missing r

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

2013-01-14 Thread Jeremy Lavergne
> So .Trashes cannot be seen. Do you mean this simply as an example where something cannot be seen? .Trashes is d-wx-wx-wt in another DMG I opened up just now: still not readable, but that's the case for everyone this time. I want to consider a distfile with inaccessible files to be inherently

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

2013-01-14 Thread Sean Farley
On Sun, Jan 13, 2013 at 8:46 PM, Ryan Schmidt wrote: > > On Jan 13, 2013, at 18:53, Blair Zajac wrote: > >> On 01/13/2013 03:36 PM, Ryan Schmidt wrote: >> >>> https://trac.macports.org/ticket/21117 >>> >>> I think the problem still remains when you have a non-root MacPorts >>> installation; that'

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

2013-01-13 Thread Ryan Schmidt
On Jan 13, 2013, at 18:53, Blair Zajac wrote: > On 01/13/2013 03:36 PM, Ryan Schmidt wrote: > >> https://trac.macports.org/ticket/21117 >> >> I think the problem still remains when you have a non-root MacPorts >> installation; that's the configuration I was using when I initially filed >> the

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

2013-01-13 Thread Blair Zajac
On 01/13/2013 03:36 PM, Ryan Schmidt wrote: On Jan 11, 2013, at 22:19, bl...@macports.org wrote: Revision: 101504 https://trac.macports.org/changeset/101504 Author: bl...@macports.org Date: 2013-01-11 20:19:14 -0800 (Fri, 11 Jan 2013) Log Message: --- portextract::extra

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

2013-01-13 Thread Ryan Schmidt
On Jan 11, 2013, at 22:19, bl...@macports.org wrote: > Revision: 101504 > https://trac.macports.org/changeset/101504 > Author: bl...@macports.org > Date: 2013-01-11 20:19:14 -0800 (Fri, 11 Jan 2013) > Log Message: > --- > portextract::extract_main: use_dmg fails to mount DM

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

2013-01-13 Thread Blair Zajac
On 01/13/2013 08:23 AM, Daniel J. Luke wrote: On Jan 11, 2013, at 11:19 PM, bl...@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 n

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

2013-01-13 Thread Daniel J. Luke
On Jan 11, 2013, at 11:19 PM, bl...@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 DM