bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

file stripping with a non root account seems problematic.


From: Kyle Sallee
Subject: file stripping with a non root account seems problematic.
Date: Fri, 22 Apr 2016 09:59:22 -0700

$ strip --strip-unneeded libubsec.so
strip: unable to copy file 'libubsec.so'; reason: Permission denied

In rename.c
on an existing file;
prior to invoking function creat
the file must unlinked?
For the root account the bug does not manifest.
A patch file is attached.

At least since version 2.25.1 this bug has existed.
Since O_EXCL is not specified
the problem should not become.
Perhaps a Linux bug exists?
In either case; after this patch was applied;
user account file stripping became possible.

For sharing binutils; thanks.
Because I am not list subscribed;
recommendations/replies should be directly emailed.
Please.

Attachment: binutils-2.26.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]