access permission on mounted fat32 drive

Paul Howarth paul at city-fan.org
Thu May 19 16:43:27 UTC 2005


Kai Zhang wrote:
> appended this line to fstab now, still no joy
> /dev/sda5      /mnt/dos    vfat    auto,owner,rw,umask=0000 0 0
> 
>  log in as myself now and 
> 
>>cd /mnt/dos
> 
> bash: cd: /mnt/dos: Permission Denied
> 
> 
>>ls -l
> 
> d-----------  4 root users 16384 1970-01-01 01:00 dos
> 
> Pretty weird!

Try this instead:

/dev/sda5 /mnt/dos vfat dmask=0000,fmask=0111 0 0

# umount /mnt/dos
# mount /mnt/dos

Now anybody should be able to read and write to /mnt/dos, even though 
the files appear to be owned by root.

Paul.




More information about the fedora-list mailing list