* Bug in 'strip' for Linux/alpha.
@ 1996-06-01 19:43 Mikael Nykvist
0 siblings, 0 replies; 4+ messages in thread
From: Mikael Nykvist @ 1996-06-01 19:43 UTC (permalink / raw)
Howdy.
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.
Nothing major, but I just thought I should point it out..
/Mikael
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <Pine.LNX.3.91.960601213909.12777A-100000@nova.campus.luth.se>]
* Re: Bug in 'strip' for Linux/alpha.
[not found] <Pine.LNX.3.91.960601213909.12777A-100000@nova.campus.luth.se>
@ 1996-06-01 20:15 ` Richard Henderson
1996-06-02 10:30 ` Linus Torvalds
0 siblings, 1 reply; 4+ messages in thread
From: Richard Henderson @ 1996-06-01 20:15 UTC (permalink / raw)
> 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?
r~
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Bug in 'strip' for Linux/alpha.
1996-06-01 20:15 ` Richard Henderson
@ 1996-06-02 10:30 ` Linus Torvalds
0 siblings, 0 replies; 4+ messages in thread
From: Linus Torvalds @ 1996-06-02 10:30 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Bug in 'strip' for Linux/alpha.
@ 1996-06-02 17:34 Marc Ewing
0 siblings, 0 replies; 4+ messages in thread
From: Marc Ewing @ 1996-06-02 17:34 UTC (permalink / raw)
Linus Torvalds <torvalds@cs.Helsinki.FI> writes:
> > 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...
That's it. 3.0.3 intel ships with 1.2.13.
-Marc
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1996-06-02 17:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-06-01 19:43 Bug in 'strip' for Linux/alpha Mikael Nykvist
[not found] <Pine.LNX.3.91.960601213909.12777A-100000@nova.campus.luth.se>
1996-06-01 20:15 ` Richard Henderson
1996-06-02 10:30 ` Linus Torvalds
-- strict thread matches above, loose matches on Subject: below --
1996-06-02 17:34 Marc Ewing
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox