Having problems using the mount command

Peter Flynn peter at silmaril.ie
Sun Aug 23 22:21:02 UTC 2020


On 23/08/2020 18:42, Bob wrote:
> ** Reply to message from Nils Kassube <kassube at gmx.net> on Sun, 23 Aug 2020
> 11:16:53 +0200
[...]
>> Try
>> sudo mount -ouid=$UID /dev/sda5 /home/robert/FAT32SHARE
> 
> That worked!
> Thank you Nils.

Excellent.

On 23/08/2020 18:37, Bob wrote:
> It was created many years ago, do not remember what OS was used to
> create it. It has been copied from disk to disk over the years
> whenever I got a new computer.
At a guess, your current login account UID is not the same number as the 
UID you were logged in to when you created the partition all those years 
ago. Fix for the future would be

cd /home/robert/FAT32SHARE
sudo chown -R nnn:nnn .

where nnn:nnn is your current UID:GID from /etc/passwd

Then make sure that that is your uid/gid on future installations.

Peter




More information about the ubuntu-users mailing list