From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5864B3858D3C; Mon, 27 Dec 2021 13:56:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5864B3858D3C From: "panxh_ran at 163 dot com" To: elfutils-devel@sourceware.org Subject: [Bug tools/28729] New: After eu-ar -r added file into archive, it changes file permission Date: Mon, 27 Dec 2021 13:56:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: tools X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: panxh_ran at 163 dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: elfutils-devel@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Elfutils-devel mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Dec 2021 13:56:28 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28729 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=3D13885&action=3Ded= it 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. --=20 You are receiving this mail because: You are on the CC list for the bug.=