lkml.org 
[lkml]   [2001]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: all files are executable in vfat
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/

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