[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/129] New: 'strip' deletes suid bit on files hard linked tw
From: |
konush at itep dot ru |
Subject: |
[Bug binutils/129] New: 'strip' deletes suid bit on files hard linked twice |
Date: |
23 Apr 2004 11:26:12 -0000 |
When I do
mkdir tmpdir
cd tmpdir
mkdir newdir
cp /bin/passwd tmpdir
cp -l `pwd`/passwd `pwd`/newdir
ls -l
strip -g passwd
ls -l
I see the output
drwxr-xr-x newdir
-rwsr-xr-x passwd
drwxr-xr-x newdir
-rwxr-xr-x passwd
So binary 'passwd' will not have suid bit. Everything is OK if I am not
creating
a hard link to 'passwd'.
--
Summary: 'strip' deletes suid bit on files hard linked twice
Product: binutils
Version: 2.14
Status: NEW
Severity: normal
Priority: P2
Component: binutils
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: konush at itep dot ru
CC: bug-binutils at gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://sources.redhat.com/bugzilla/show_bug.cgi?id=129
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug binutils/129] New: 'strip' deletes suid bit on files hard linked twice,
konush at itep dot ru <=