lkml.org 
[lkml]   [2004]   [Feb]   [12]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Vfat increases file permissions
From Valdis.Kletnieks@vt ...
DateThu, 12 Feb 2004 00:53:50 -0500
On Wed, 11 Feb 2004 14:44:33 PST, Steve G <linux_4ever@yahoo.com>  said:
> In the DOS world, not every file is executable. It uses the file
> extention to decide if the file is executable. A text file is not
> implicitly executable unless it has a .bat file extention.

Welcome to Linux, where files actually have permissions bits.  Of
course, the vfat filesystem doesn't have those bits, so we have to
invent something.  Sanest thing to do is just pretend all vfat
files are mode 0777...

> I am concerned about world writeable, executable files existing
> on my floppies or USB devices that are formatted vfat. This seems
> like a security concern to me.

mount -o noexec,nodev,nosuid /dev/floppy /mnt/floppy


[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:00    [from the cache]
©2003-2008