Messages in this thread |  | | | Subject | Re: Vfat increases file permissions | | From | Valdis.Kletnieks@vt ... | | Date | Thu, 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] |  |