081201 Neil Bothwick wrote: > On Mon, 1 Dec 2008 07:10:00 -0500, Philip Webb wrote: >> in /etc/fstab I have : >> '/dev/sdb1 /mnt/usb auto noauto,user,umask=000 0 0' >> I reformat USB sticks to a Linux fs, as 'fat' seems to reduce capacity. > You didn't mention that before: it was reasonable to assume > that you were using FAT because you have a umask option in fstab, > which also does not apply to ext2.
Thanks(1) : I hadn't noticed that. I have 1 USB stick with 'fat', in case I want to exchange files with a M$ machine (more below), hence the 'auto' entry in the filesystem column. > Are you setting the permissions of the mount point > with the device mounted or unmounted ? > When the device is mounted, the mount point assumes > the ownership & permissions of the root of the device's filesystem. > You need to chmod/chown it with the stick mounted. Thanks(2) : indeed ! -- I reformatted 2 sticks to 'ext2' recently & that seems to be what undid the previous behaviour: having done 'chmod' with each stick mounted, the permissions persist when I remount them. However, I can't similarly change the permission for the 'fat' stick, presumably because M$ formats don't understand Linux permissions. I will make appropriate notes ... (smile) -- ========================,,============================================ SUPPORT ___________//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT `-O----------O---' purslowatchassdotutorontodotca