Bug 4369 - Fix permissions on untared lsof archive
Summary: Fix permissions on untared lsof archive
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 minor
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-22 03:47 UTC by Danomi Mocelopolis
Modified: 2011-11-24 22:13 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
patch file (529 bytes, patch)
2011-10-22 03:47 UTC, Danomi Mocelopolis
Details
more inclusive patch file (11.95 KB, text/plain)
2011-10-22 22:49 UTC, Danomi Mocelopolis
Details

Note You need to log in before you can comment on or make changes to this bug.
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