Secondary storage drive mounting & permissions

Hey y’all new linux user here so have mercy.

I reformatted a drive (switching from ext4 to btrfs) shortly after switching to CachyOS (from Mint) and I’ve been having trouble mounting it and furthermore setting it to auto mount. I’ve tried using terminal to edit the fstab as described here https://wiki.cachyos.org/configuration/automount_with_fstab/ but it didn’t work. I’ve now undone the changes. I can manually mount the partition in file explorer/gparted/partition manager manually but then I can’t write in the drive it says.

Often when I look up instructions online they seem helpful but don’t -quite- match up to my circumstances. for instance on that guide, every listing is the UUID. but if I open fstab right now the very last entry is actually the hard drive i’m trying to mount listed was dev/sdb2 witth no UUID and with the wrong filesystem AND with a lot less of that other stuff. I then set it to identify with UUID in KDE partition manager. I’ve tried tinkering with it according to guides and threads online to no avail.

As it stands, I can mount and unmount the drive from file manager, gparted, and KDE manager but it seems as though somehow I don’t even have permission to write on the drive or move files there!

So yeah, sorry if my explanation is bad. It’s hard to explain these situations. Anyhow I’ve included a picture, please help! The partition I’m talking about is the bottom one in that konsole window.

you can do it in KDE Partition Manager. Right click the partition and select “Edit Mount Point”, check “UUID”, select path, check “Users can mount and unmount” , check “Don’t prevent……” and that’s it I think. It will edit fstab automatically. Restart the computer and should work.

EDIT:

Solutions to Grant Write Permissions

Change Ownership: Use the chown command to change the ownership of the mount point to your user. For example:

sudo chown -R yourusername:yourgroup /path/to/mountpoint

Thanks for the response! what exactly is my group? i’ve seen this command chown mentioned online and this is definitely the clearest anyone’s made how to use it, but I don’t know what to put for yourgroup. i just used the groups command and apparently my user account is in multiple groups so what do I put there? all of them?

I’m at the point now where I don’t even care about auto mount I just wanna have permissions for my own storage drive :sob:

edit: hey I think I did it! i just wrote my username in there. Thank you!! gonna test further.

I tested it on my own second drive and everything works without problem.

ty ty ty! this worked flawlessly!