I've followed instructions here to set up a hdd partition for a new hard drive. How should I set the permissions on that folder such that when I work in it I don't have to use sudo?
I know that I could check answer to the general question "How do I change the permissions on some directory?" But I want to make sure I'm doing things right based on the context.
chownto do this see the man page here – graham Apr 10 '21 at 15:37chownthing. Nothing special about it because it's a mounted disk – Alexander Soare Apr 10 '21 at 15:39sudo chown [name]:[name] /media/[mount_point]/storage. If my name was fred for example, that would translate tosudo chown fred:fred /media/fred/storageThen that took ownership of the drive for user fred. storage is the name of the drive. – graham Apr 10 '21 at 16:01