Skip to main content


CachyOS drive mount journey


This entry was edited (1 week ago)
in reply to Jack_Burton

777 is read/write/execute for owner, group, and world, respectively. It's the most permissive POSIX permission that can be set. If something can't write on a 777 umask, then either the filesystem is mounted read-only, or something is deeply wrong with the storage.

drives are NTFS


You probably have the clean unmount bit unset for the NTFS partition. This is trivial to bypass, but I would suggest not using NTFS in Linux, NTFS is not a great fs and Linux support is... OK.

This entry was edited (1 week ago)
in reply to non_burglar

Yeah, I'd prefer ext4 but the drives are large and full (made on Windows) and I have nothing to transfer to to reformat. They're staying NTFS for now. I've used sudo ntfsfix -d /dev/sdxY on them and it comes up all good.

How could I bypass it if that's the issue?

This entry was edited (1 week ago)
in reply to Jack_Burton

ntfxfix should only have to be done once, then you can remount. Unless you are using these partitions in windows, in which case you'll need to do it every time.
in reply to Jack_Burton

in reply to FauxLiving

How is Emby installed? In a container or are you running it on bare metal?


Just installed, no container.

When you say it sees them as read only, what indicates this? A log? A GUI element?


If I try to change artwork, delete, etc, a popup comes up saying it's read only.

However, I think I got it set. I added uid=1000,gid=1000 to the end of the options string and Emby now has control.

in reply to Jack_Burton

However, I think I got it set. I added uid=1000,gid=1000 to the end of the options string and Emby now has control.


Yup, that'll do it.

Now I just gotta look into why that worked haha.


Adding uid=1000,gid=1000 tells the NTFS mount driver “Present every file on this NTFS volume as if it is owned by UID 1000 and GID 1000.” The account running Emby is probably just your user account (guessing) so this did what you were trying to do with chown. Chown won't work without the 'permissions' option and a usermapping file to translate linux IDs to the SID's that NTFS uses, probably way more configuration than you need.

You should try to get off of NTFS ASAP. It'll be fine for media storage but some things (pc games, esp) really hate running off of NTFS. I know how unwieldy it is to shift the data around, but it will save you a lot of headaches going forward.

in reply to FauxLiving

Awesome thank you, I appreciate the rundown. I...sort of get it haha. I need to remount after reboot or they go back to ro, but it's functional at least.

You should try to get off of NTFS ASAP. It’ll be fine for media storage but some things (pc games, esp) really hate running off of NTFS. I know how unwieldy it is to shift the data around, but it will save you a lot of headaches going forward.


I would love to, but it's just not in the cards for the foreseeable future. I'm all in on Linux and the NTFS drives are the last remnant of Windows. One day...

in reply to Jack_Burton

EDIT 2: Spoke too soon. After a reboot they were ro for Emby again. I added rw to the drive options and it worked again. But after another reboot, no go again. Turns out after each reboot unmounting then remounting works. Not sure if there’s a way to make this work. Maybe they mount too soon? I dunno, but for now it’s functional.


You shouldn't need to remount if you added the options, they should be in the fstab file now so they'll be applied at every reboot. If it isn't doing that check the fstab file

cat /etc/fstab

To see what the relevant entry says. The options block is the block of text just before the two numbers at the end of the file.
in reply to FauxLiving

This is what one of the drives looks like /dev/disk/by-label/Samsung /mnt/Samsung auto nosuid,nodev,nofail,x-gvfs-show,uid=1000,gid=1000,rw 0 0
in reply to Jack_Burton

That fstab entry is correct (assuming the by-label path is valid), you could change auto to ntfs-3g but it is likely detecting the correct type so that isn't needed.

If you can put it in the 'not working' and also in the 'working' state you can compare how it is mounted with

findmnt -t ntfs-3g

That'll show the options that the mounts are currently using, a quick thing that you can try unmounting and remounting
sudo umount /mnt/Samsung
sudo mount /mnt/Samsung

That should mount it with the options in the fstab file, you can confirm with the findmnt command.

If not, that doesn't work try umounting and then mounting with the options set explicitly:

sudo mount -t ntfs-3g -o uid=1000,gid=1000,rw /dev/disk/by-label/Samsung /mnt/Samsung

and see if they show in findmnt.
in reply to FauxLiving

Awesome thank you so much. I was wondering about the auto option. I'll try changing that to ntfs-3g in gnome disk. I'm guessing I could also open fstab and change it manually but I'm not quite there yet haha. I just tried findmnt -t ntfs-3g and there was nothing. I'm expecting to see something when I run it again after changing from auto.

Edit: Changed one drive to ntfs-3g and rebooted. findmnt -t ntfs-3g is still nothing, but sudo nano /etc/fstab does show it's ntfs-3g. Still had to remount for Emby to get write privileges. I then unmounted Samsung and ran sudo mount -t ntfs-3g -o uid=1000,gid=1000,rw /dev/disk/by-label/Samsung /mnt/Samsung. fstab still shows auto on that one.

This entry was edited (1 week ago)
in reply to Jack_Burton

in reply to FauxLiving

This entry was edited (1 week ago)