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 never use  > 1  USB device at a time,
> >> so this is ok).  
> 
> > You can include the mountoption  uid=  gid= .  
> 
> According to 'man mount', they are not available for 'ext2' (only
> 'fat'). 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.

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 and permissions of the root of the device's filesystem. You
need to chmod/chown it with the stick mounted.


-- 
Neil Bothwick

On the other hand, you have different fingers.

Attachment: signature.asc
Description: PGP signature

Reply via email to