I know this question has been asked before, but I cannot find a solution for Ubuntu 18.04
I have an external hard drive (FAT32) that had a default name with spaces that was making my life hell for scripting. So I manually changed the mount point to /media/$user/Ext1TB
but now I do not have write access to the disk and cannot save or modify the content. It used to work fine.
Things I have tried:
sudo chown -R $USER:$USER path/to/folder
gksu nautilus (doesn't work on 18.04?)
sudo chmod -R 777 /<folder name or path>
changing permissions through sudo nautilus
(works but does not stay like that)
So I am a bit out of ideas. Any other suggestion that doesn't involve formatting?
I have already looked at the following posts:
Edit:
Thanks to guiverc I now understand the problem with FAT32 permissions. I have tried the following with no result:
sudo mount /dev/sda1 /media/$USER/Ext1TB
should I add the -w
? The help says it is implicit. Can somebody help with the mount call?
From what I understand of the post suggested to make it permanent I have to add or modify a line in fstab similar to this:
UUID=8C52-C1CD /home/storage auto user,umask=000,utf8,auto 0 0
But I have no idea on how to build the line, find the correct UUID number and set the correct options. Any suggestion with that?
chmod
cannot work. Your 'fix' is to mount (ie. mount with permissions you want; the new directory has different permissions to where you mounted it previously) – guiverc Apr 26 '19 at 11:51sudo mount /dev/sda1 /media/$USER/Ext1TB -o umask=000
– tatsu Apr 26 '19 at 13:03