Having problems using the mount command

Bob ubuntu-qygzanxc at listemail.net
Sun Aug 23 07:27:56 UTC 2020


** Reply to message from Volker Wysk <post at volker-wysk.de> on Sun, 23 Aug 2020
07:14:21 +0200

> Am Samstag, den 22.08.2020, 15:58 -0700 schrieb Bob:
> > I am definitely a novice at this.
> > 
> > I am trying to mount /dev/sda5 to a mount point in my home
> > directory.  I can
> > get it mounted but it is read-only.  The command
> > 
> > robert at MARS:~$ sudo mount --read-write /dev/sda5
> > /home/robert/FAT32SHARE
> > 
> > mounts it but read-only.
> > 
> > Putting the following in fstab has the same problem
> > 
> > LABEL=FAT32SHARE       /home/robert/FAT32SHARE
> > vfat    defaults        0      
> > 2
> > 
> > from what I read 'defaults' should set read-write.
> > 
> > Currently I have to use "files" then click "other Locations" then
> > click
> > "FAT32SHARE" and it gets mounted at /media/robert/FAT32SHARE read-
> > write.
> 
> Does this work, after the ro mount:
> 
> sudo touch /home/robert/FAT32SHARE/xyz

That worked so it is not read-only.  I made a bad assumption, the FAT32SAHRE
icon has a lock on it and I could not edit any file so I took that to mean
read-only.  The owner is root, I tried to chown but that did not work.  I do
not see a way to specify an owner using mount.  Looks like I will need to mount
this device using the fstab.  The fstab entry I tried also set the user as
root, anyone know to set the user?

Thanks for your help.

-- 
Robert Blair


The government is like a baby's alimentary canal, with a happy appetite at one end and no responsibility at the other.  -- Ronald Reagan




More information about the ubuntu-users mailing list