[Bug binutils/10364] New: strip doesn't fail on unwriteable files

View: New views
3 Messages — Rating Filter:   Alert me  

[Bug binutils/10364] New: strip doesn't fail on unwriteable files

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

[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

--
           Summary: strip doesn't fail on unwriteable files
           Product: binutils
           Version: 2.20 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: doko at debian dot org
                CC: bug-binutils at gnu dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=10364

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@...
http://lists.gnu.org/mailman/listinfo/bug-binutils

[Bug binutils/10364] strip doesn't fail on unwriteable files

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2009-08-03 13:47 -------
Subject: Bug 10364

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

Modified files:
        binutils       : ChangeLog objcopy.c

Log message:
        2009-08-03  H.J. Lu  <hongjiu.lu@...>
       
        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



--


http://sourceware.org/bugzilla/show_bug.cgi?id=10364

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@...
http://lists.gnu.org/mailman/listinfo/bug-binutils

[Bug binutils/10364] strip doesn't fail on unwriteable files

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


------- Additional Comments From hjl dot tools at gmail dot com  2009-08-03 13:48 -------
Fixed.

--
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hjl dot tools at gmail dot
                   |                            |com
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=10364

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@...
http://lists.gnu.org/mailman/listinfo/bug-binutils