This is sources Bugzilla
Bugzilla Version 2.17.5
Bugzilla Bug 10364
  strip doesn't fail on unwriteable files Last modified: 2009-08-03 13:48:21
     Query page      Enter new bug
Bug#: 10364   Hardware:   Reporter: Matthias Klose <doko@debian.org>
Host: Target: Build:
Product:     Add CC:
Component:   Version:   CC:
Remove selected CCs
Status: RESOLVED   Priority:  
Resolution: FIXED   Severity:  
Assigned To: unassigned@sources.redhat.com   Target Milestone:  
Summary:
Keywords:

Attachment Description Type Created Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 10364 depends on: Show dependency tree
Show dependency graph
Bug 10364 blocks:

Additional Comments:


Leave as RESOLVED FIXED
Reopen bug
Mark bug as VERIFIED

View Bug Activity   |   Format For Printing


Description:   Last confirmed: 0000-00-00 00:00 Opened: 2009-07-05 13:53
[forwarded from http://bugs.debian.org/276428]

$ chmod -w t.so 
$ strip t.so 
strip: unable to copy file 't.so'; reason: Permission denied
$ echo $?
0

------- Additional Comment #1 From cvs-commit@gcc.gnu.org 2009-08-03 13:47 -------
Subject: Bug 10364

CVSROOT:	/cvs/src
Module name:	src
Changes by:	hjl@sourceware.org	2009-08-03 13:47:36

Modified files:
	binutils       : ChangeLog objcopy.c 

Log message:
	2009-08-03  H.J. Lu  <hongjiu.lu@intel.com>
	
	PR binutils/10364
	* objcopy.c (strip_main): Check return from smart_rename.
	(copy_main): Likewise.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/binutils/ChangeLog.diff?cvsroot=src&r1=1.1502&r2=1.1503
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/binutils/objcopy.c.diff?cvsroot=src&r1=1.133&r2=1.134


------- Additional Comment #2 From H.J. Lu 2009-08-03 13:48 -------
Fixed.

     Query page      Enter new bug
Actions: New | Query | bug # | Reports | Requests   New Account | Log In