NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: How do I mount a usb drive (fat32) rw for all users?



On Fri, Dec 20, 2013 at 07:25:06PM +0100, Ottavio Caruso wrote:
> Hello,
> 
> I have a USB drive formatted as fat32 that I would like to be
> writeable by all users.
> 
> I was used on Linux that all fat drives were automatically rw by all
> users but not so on Netbsd.
> 
> Assuming the drive is sd1e, I have mounted it as:
> (I am writing from Windows now, so I am recalling)
> 
> # mount /dev/sd1e /mnt
> 
> but I get permission errors when trying to save files on it as non root.
> 
> I thought I could mount it like this:
> 
> # mount_msdos -u 777  /dev/sd1e /mnt
> 
> In this case I get no errors, but actually the files are not saved.
> 
> I remember once mounting it successfully with the option:
> 
> # mount_msdos -u ottavio /dev/sd1e /mnt
> 
> where 'ottavio' is my regular user, but it didn't work.
> 
> I am surely missing something obvious, but I need your help with this.

See the -M and -m options of mount_msdos(8).


Home | Main Index | Thread Index | Old Index