1

My desktop has another hard drive which I intend to use for data storage and the issue is that nautilus always asks for password when trying to mount that drive.

Same when I try and access the drive from the terminal, I get

ls: cannot open directory '/media/luca/Storage/': Permission denied

So basically, I always need to use sudo to perform file operations on this directory.

Now, is there a way to remove this restriction. How can I auto mount this drive without having to specify my password every time or having to use sudo every time I have to access files on this drive?

I am using ubuntu 18.04.

Luca
  • 155

1 Answers1

2

Change the owner of the directory where the drive is mounted to be your own user:

sudo chown -R luca:luca /media/luca/Storage/