On 12/07/12 04:26, Martin Costabel wrote:
> On 12/07/12 03:36, Daniel Macks wrote:
> []
>> Is this using the released version of fink (what version?) or a pull
>> from git master (is it up-to-date)? I committed a fix to master for a
>> problem like this shortly before the most recent release but I'm not
>> sure if it got carried into the branch/release series.
>
> This is released fink-0.33.3.2.
> One more data point: The same error also shows up with "dpkg -x". So
> maybe it's a dpkg problem and not a fink validator problem. However,
> "dpkg -i" works correctly.

It turns out that the distinction was not between dpkg -x and dpkg -i, 
but between running with or without sudo: "sudo dpkg -x" works, too. And 
indeed, whereas

   fink check /sw/fink/debs/modulef_99-10_darwin-x86_64.deb

fails with the tar errors I showed,

   sudo fink check /sw/fink/debs/modulef_99-10_darwin-x86_64.deb

succeeds. Maybe the validator needs to run itself through sudo?

As I see it, the problem finally comes from tar: The directories that 
contain the symlinks in question have permission 555, i.e. r-xr-xr-x. 
And whereas this does not prevent tar from extracting files into these 
directories, it prevents symlinks from getting created. I get the same 
tar errors when I try to "tar xf" the tar file contained in the modulef 
deb. I have not yet, however, been able to reproduce this problem with a 
smaller example of a self-created tar file.

-- 
Martin


-- 
Martin

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to