Michael L Torrie wrote:
It may be possible to convince linux that every file
is executable on a fat32 partition, but I've never seen this.

It's possible using the "umask" option when you mount the drive. For instance, on the CAEDM lab machines we this in the fstab:


/dev/fd0                /floppy auto    user,noauto,umask=077
/dev/sda4               /zip    auto    user,noauto,umask=077 0 0

Thus, if a user mounts the floppy or zip drives and the disk contains a fat[32] filesystem, all the files are set to permission 700 (umask operates as the opposite of persmissions -- yeah, it's confusing). If they mount a ext2 filesystem, then the umask option just gets ignored anyway. This prevents another user from ssh-ing into the machine aand changing any files while the owner has his disk mounted.

--
Soren Harward
[EMAIL PROTECTED]



_______________________________________________
newbies mailing list
[EMAIL PROTECTED]
http://phantom.byu.edu/cgi-bin/mailman/listinfo/newbies

Reply via email to