Btrfs partition on a drive mounting but not writeable

Hello, I have a btrfs partition on a separate drive from my main drive. I have added it to fstab and it mounts properly, but it is read only. What am I doing wrong?

fstab line: UUID=106d4c18-6cff-4930-a6c8-f5a873b1a9b8 /mnt/extended btrfs defaults,autodefrag,noatime,compress=zstd 0 0

You made sure your user has the appropriate filesystem rights (e.g. chmod or chown)?

At the risk of sounding stupid. How does one do that?

If you just formatted and mount the disk it’s usually only writable by root, but not your user (therefore read only).

Quick answer for example: sudo chown $USER /mnt/extended

The Arch wiki has a good overview: https://wiki.archlinux.org/title/File_permissions_and_attributes#Changing_ownership

1 Like

Yeah, that was it. Thank you so much! I used GParted to format it so it was root owned. That makes sense.

My main struggle was searching it up I kept getting results for people using NTFS and their problem being solved by getting the NTFS drivers. That obviously wouldn’t have fixed my issue though. :sweat_smile:

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.