Bug 4369

Summary: Fix permissions on untared lsof archive
Product: buildroot Reporter: Danomi Mocelopolis <d_mo1234>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: minor CC: buildroot
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Target:
Build:
Attachments: patch file
more inclusive patch file

Description Danomi Mocelopolis 2011-10-22 03:47:26 UTC
Created attachment 3667 [details]
patch file

When buildroot untars a package, it opens permissions on the untarred results,  (The comment is "some packages have messed up permissions inside".)  However, in the case of lsof, the tar.bz2 contains another .tar, which contains the source code.  It needs to have the same treatment as buildroot's normal untar process, because lsof has read-only files in the inner tarball.

A patch file is attached.
Comment 1 Danomi Mocelopolis 2011-10-22 22:49:29 UTC
Created attachment 3679 [details]
more inclusive patch file
Comment 2 Danomi Mocelopolis 2011-10-22 23:10:16 UTC
Comment on attachment 3679 [details]
more inclusive patch file

PLEASE IGNORE SECOND PATCH ... I meant to attach it to Bug 4363.  Sorry, sorry, sorry.
Comment 3 Peter Korsgaard 2011-11-24 22:13:45 UTC
Fixed in git (9f930d2d7), thanks