Re: all files are executable in vfat

Nerijus Baliunas (nerijus@users.sourceforge.net)
Tue, 25 Sep 2001 18:15:43 +0200 (EET)


On Tue, 25 Sep 2001 12:09:30 -0400 (EDT) Alexander Viro <viro@math.psu.edu> wrote:

AV> > All files are executable in vfat (kernel 2.4.10), although I have
AV> > /dev/hda1 /mnt/c vfat defaults,user,noexec,umask=0,quiet 0 0
AV> > in /etc/fstab. They were not in 2.4.7.
AV>
AV> Really? Try to execute a binary from there. cp /bin/ls /mnt/c && /mnt/c/ls

bash: /mnt/c/ls: Permission denied. But:
$ ls -l ls
-rwxrwxrwx 1 nerijus nerijus 45724 Rgs 25 18:12 ls

The problem is, mc sees such files as executables and I cannot view
archives by pressing enter on them, instead mc tries to execute them.
Was this change intentional?

Regards,
Nerijus

-
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/