[lkml]   [2001]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: all files are executable in vfat
On Tue, 25 Sep 2001 12:47:46 -0400 (EDT) Alexander Viro <> wrote:

AV> > $ ls -l ls
AV> > -rwxrwxrwx 1 nerijus nerijus 45724 Rgs 25 18:12 ls
AV> So use the right option for that - umask=111 and there you go.

Actually I just few minutes ago thought about umask - yes, it helps,
thank you. But now I cannot enter any directory as regular user.

AV> noexec doesn't (and shouldn't) do anything about mode. Yes, VFAT (along
AV> with explicit mechanism for doing what you want to do) used to have a
AV> bug in noexec handling. And that's a bug - plain and simple. Try it
AV> on any other UNIX _or_ other filesystem on Linux.

Because this bug was fixed I thought something broke instead...

AV> -o noexec means "execve() fails regardless of file permissions". If you
AV> want "give all regular files rw-rw-rw-" - VFAT has option for that:
AV> umask.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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