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

panxh_ran at 163 dot com sourceware-bugzilla@sourceware.org
Mon Dec 27 13:56:28 GMT 2021


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.


More information about the Elfutils-devel mailing list