On Tuesday 17 April 2001 03:22 pm, Ethan Benson wrote: > i don't understand why the chmod made `windoz' world writable instead > of floppy... unless it already was and your point is that chmod is > not working on floppy.
Yeah, the perms were already set for 'windoz', though I'm still new enough that I'm not sure why. I included that info originally to show that I was trying to get chmod to use the same perm scheme for 'floppy' as was used for 'windoz'. > is a msdos filesystem mounted on floppy/ ? if so that is why. msdos > does not have any concept of file permissions, you cannot change the > faked ones the kernel enforces with chmod. This makes sense, more or less. The file system is set for vfat, which I suppose is about the same as msdos with regards to the above. > instead you need to do: > > mount -t msdos -o uid=1000,noexec /dev/fd0 /floppy > > which will cause all files on the msdos filesystem to be owned by uid > 1000 (most likely you, do a `getent passwd yourusername' to see what > your uid is) Once I corrected the appropriate line in /etc/fstab, I was able to save my data to the diskette, so for now I will forgo the above, but will keep it for future reference. > note that changing permissions on the mountpoint directory when > nothing is mounted does nothing but open security holes. permissions > on the mountpoint have no effect on any filesystem mounted on top. An important point I had not considered. Thank you. -- 73, JC Portlock KE6UME [EMAIL PROTECTED] ICQ# 14481033 =========================================== Professionals built the Titanic, but Amateurs built the Ark. =========================================== Good judgment comes from experience, and a lot of that comes from bad judgment.