This might be handy if you reformat your external HDD or you are having difficulty with a new external HDD/SSD/USB
Info taken from these posts:
Update literally just as I posted I tried to do permission via the filepath, and that did actually work: sudo chmod g+rwx /run/media/{username}/ChunkyHDD and that did update the permissions for group but it seems as if I still don’t have read write access for that drive in the same way I do my home drive where the OS is installed.
I will have a read through of what has been posted so far though as well while I am at it.
https://askubuntu.com/questions/90339/how-do-i-set-read-write-permissions-my-hard-drives
One way is to fire up terminal and use chmod
. You should know the name of selected drive.
sudo chmod ugo+wx /run/media/username/name_of_ssd
In this demo I will be giving my external 1TB read/write.
sudo chmod ugo+wx /run/media/olividir/1TB
Taken from askUbuntu
sudo :- it will elevate your priviledges to execute the command.
chmod :- command to change the permissions
u :- user
g :- group
o :- other
w ;- write
x ;- executable (if I remember right)
/media/username/your_drive :- partition
1 Like
That’s not going to persist across reboots, because /run
is a tmpfs
, i.e. a virtual-memory-based filesystem.
Better is to set up static mountpoints outside of /run
─ /mnt
is a commonly used location ─ and add them to /etc/fstab
with the correct mount options. chmod
for instance has no effect on NTFS volumes ─ their permissions must be faked in the virtual filesystem layer at mount time.
2 Likes
Ah, then I will need to redo the post and put much more info into it.
1 Like
Fabby
15 January 2021 08:40
5
As you still have some work to do on this post, i’ve unlisted it for the moment so only you, me and the mods can see this post.
Once you’re finished just give us a shout and we’ll re-list it again.
Also please read this:
Install a browser spell checker!
It deosn’t mettar how good yuor psot is technicaly, but if it cnotians speling and gramer erors all over the plais, yuor post will be itnreperted as low-kwaliti as the errors in italics on this line demonstrate.
Ensure your post is readable
This might seem like a no-brainer, but a “wall of text” is not readable, nor are inconsistent italics, Bold small and big font usage.
Be consistent!
It doesn’t ma…
and please put your sources at the end of your post and start with the tutorial itself…
2 Likes
Thank you, and after doing some (read “better”) search here on the forum, I think it is best to delete this post. This post by linux-Aarhus is way, way better than mine. And he/she knows much, much more about the system than I do.
I should have researched the topic better.
2 Likes
Fabby
15 January 2021 22:46
8
Well, at least you’ve got a few for your efforts and most importantly:
You’re a wiser human being now!
(without forgetting that to be old and wise, you have had to be young and wild first!!)
1 Like