From: Linus Torvalds <torvalds@cs.Helsinki.FI>
Subject: Re: Bug in 'strip' for Linux/alpha.
Date: Sun, 2 Jun 1996 13:30:33 +0300 (EET DST) [thread overview]
Message-ID: <7e5a336b1b6ca2d944e40b51ca595305.axp-list@archive.invalid> (raw)
In-Reply-To: <m0uPx5P-0001qIC@atheist.tamu.edu>
On Sat, 1 Jun 1996, Richard Henderson wrote:
>
> > While pokeing around and fixing the specfile for emacs-19.31 (thanx for
> > pointing out the error David!) I found out that 'strip' on linux/x86
> > preserves permissions (like suid group), while strip on linux/alpha
> > removes them.
>
> The sugid bits are supposed to go away when a file is modified.
> It is a security measure for which the kernel is responsible.
>
> I wouldn't know why they would be perserved on i386. Is the
> strip used on i386 binutils based? Does H.J. Lu have a special
> patch in place to magically preserve those mode bits?
Umm.. What was the kernel version on the x86 setup? There is a problem
with the code that strips the suid/sgid bits off an inode with 1.2.x and
1.3.x (x < 80 or something), so the code didn't actually work 100%. So it
_may_ be that you're using a new kernel on the alpha, and an older one on
the x86, so...
Linus
next prev parent reply other threads:[~1996-06-02 10:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.3.91.960601213909.12777A-100000@nova.campus.luth.se>
1996-06-01 20:15 ` Bug in 'strip' for Linux/alpha Richard Henderson
1996-06-02 10:30 ` Linus Torvalds [this message]
1996-06-02 17:34 Marc Ewing
-- strict thread matches above, loose matches on Subject: below --
1996-06-01 19:43 Mikael Nykvist
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox