[101504] trunk/base/src/port1.0/portextract.tcl
Sean Farley
sean at macports.org
Mon Jan 14 17:31:55 PST 2013
On Mon, Jan 14, 2013 at 9:07 AM, Rainer Müller <raimue at macports.org> 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 not the sticky bit, but the missing read permissions.
> I would say this should be:
>
> /usr/bin/find . -mindepth 1 -maxdepth 1 -perm -+r -exec cp -R {} /tmp \;
>
> The syntax is strange, but I think -+r is really what we want:
> read permissions for at least one of owner, group or others.
You and Jeremy are right about the stick bit. Sigh, that's what I get
for trying to think after my bedtime.
More information about the macports-dev
mailing list