How do I change ownership for a hard disk?

I’m quite new to Manjaro, did use Linux like half a year ago, and got into it again, I just have a slight bit of a problem. I can’t write anything on my hard disk. I tried to change it in properties but it said that only the owner can change the permissions. So this is the problem, how do I change the permissions so I can edit files in it, move, and etc…?
Pics of what I mean:


      sudo chmod 777 -c -R /dev/Path to you hard disk

Got back a bunch of ‘chmod: changing permissions of …; Read-only file system’
Still not writable.

Never Use chmod 777

Setting 777 permissions to a file or directory means that it will be readable, writable and executable by all users and may pose a huge security risk.

3 Likes

That’s odd, what file system do you use, e.g. ext4 or btrfs?
Or try the same command with one more 7

Ok someone was faster

nevertheless, it’s still all root permission

as I reckon it’s ext4.

You need to use chown . Something like:

sudo chown /path/to/mount/point

chown: missing operand after ‘…’

I am sorry:

sudo chown $USER:$USER /path/to/mount/point

su
chown -R username:group /path