Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   ArchLinux Development (http://www.linux-archive.org/archlinux-development/)
-   -   strip is failing on files with permission 444/555 (http://www.linux-archive.org/archlinux-development/302436-strip-failing-files-permission-444-555-a.html)

Aaron Griffin 12-30-2009 08:13 PM

strip is failing on files with permission 444/555
 
On Tue, Dec 29, 2009 at 8:53 AM, Andreas Radke <a.radke@arcor.de> wrote:
> After some short tests we found strip failing for any regular user as
> well inside fakeroot on files with permission 444 or 555:
>
> $ cp /lib/libacl.so.1 /tmp/testlib.so; chmod 444 /tmp/testlib.so; /usr/bin/strip /tmp/testlib.so
> /usr/bin/strip: unable to copy file '/tmp/testlib.so'; reason: Permission denied
>
> Dan could confirm this on his system.

That is expected. Both 444 and 555 are missing write permissions, and
strip re-writes the file.


All times are GMT. The time now is 10:48 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.