lkml.org 
[lkml]   [2001]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: noexec-flag does not work in Linux 2.4.10-pre10


On Fri, 21 Sep 2001, Peter Bornemann wrote:

> This is no problem for me but an inconvenience. If You see all
> the x-flags You believe in the executability (is that right?), moreover,
> as on my system executables are displayed in red colour, I feel my eyes
> are deceived to some extent.

Then you've never used noexec on normal filesystems (after all, _that_
is the intended use - prohibit execution of binaries from potentially
unsafe place, and in that case you are interested in all mode bits, so
you want them to be reported). Try to remount some normal fs noexec
(_not_ one that contains mount(8), or you'll have really big trouble
on hands). Then look at it - exec bits are still there and they
are still reported.

> But, as umask=111 works, I will switch to that.
>
> Thanks a lot!
>
> Peter B
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.043 / U:0.568 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site