[Bug tools/28729] New: After eu-ar -r added file into archive, it changes file permission

2021-12-27 Thread panxh_ran at 163 dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=28729

Bug ID: 28729
   Summary: After eu-ar -r added file into archive, it changes
file permission
   Product: elfutils
   Version: unspecified
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: tools
  Assignee: unassigned at sourceware dot org
  Reporter: panxh_ran at 163 dot com
CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

Created attachment 13885
  --> https://sourceware.org/bugzilla/attachment.cgi?id=13885&action=edit
eu-ar -r changes file permission

After eu-ar -r added file into archive, it changes file permission
from -rw--- to -wsrwx---
But ar -r will not change file permission.

And if the following commands are repeatedly executed, the file permission
(test.o) will change all the time.
  1.eu-ar -r libeuar.a test.o
  2.eu-ar -tv libeuar.a
Please refer to the attachments.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug tools/28729] After eu-ar -r added file into archive, it changes file permission

2021-12-27 Thread panxh_ran at 163 dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=28729

--- Comment #1 from panxiaohe  ---
Created attachment 13886
  --> https://sourceware.org/bugzilla/attachment.cgi?id=13886&action=edit
eu-ar -r and -tv change file permission

-- 
You are receiving this mail because:
You are on the CC list for the bug.