Thursday, May 9, 2024
 Popular · Latest · Hot · Upcoming
13
rated 0 times [  13] [ 0]  / answers: 1 / hits: 49950  / 1 Year ago, wed, january 4, 2023, 10:48:57

So I was recently doing an Arch install and ended up formatting my HDD in the process with fdisk. I gave up on Arch and reinstalled Ubuntu 14.04. Now whenever I try and open my HDD in Nautilus I get an error 'This Location could not be displayed. You do not have permissions necessary to view the contents of "HDD".'



I can use sudo nautilus and am able to view the files just fine. I can also format and relabel it with sudo gnome-disks , but the issue is that is a pain to do and would rather just have access to it without being root. I've tried running sudo chmod -R ug+rw /media/kalenpw/HDD but that does not solve this issue.



All the answers I find about this issue are about folders that always require elevated permissions, but this is the entire drive I can't access so they don't apply



Thanks for the help.


More From » permissions

 Answers
7

You should change owners. Run this command:



sudo chown $USER: /media/$USER/HDD


where $USER will complete to your current Ubuntu user and HDD is the name of the partition in question


[#14356] Thursday, January 5, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
issfullus

Total Points: 264
Total Questions: 126
Total Answers: 107

Location: Comoros
Member since Mon, Dec 19, 2022
1 Year ago
;