19
submitted 4 days ago* (last edited 2 days ago) by Jack_Burton@lemmy.ca to c/linux@lemmy.ml

I just installed Cachyos and I'm having trouble with mount points I think. At boot, I need a password to mount sata drives, and whatever permissions I change don't stay after rebooting. From what I can tell, it has to do with the drives mounting on /run/media, and apparently /run is a temp folder or something.

I think I need to change the mount points to something else, like /media (which doesn't exist and I'm hoping I can just create the folder and use it as a mount point?)

fstab is confusing me, can anyone help me with a quick rundown?

Edit: Think I've got it using gnome disk utility. I switched the mounts, everything boots up connected now. Had an issue where I couldn't read or write to the drives tho haha, but seems to have corrected after a reboot ( I think I may have installed ntfs-3g before the reboot). The owner and group for all of them are now root for some reason, but it seems to be working anyway.

Edit 2: If anyone is here for the same issue, I've made another post which is more directed at the issue: NTFS drives. You can find it here https://lemmy.ca/post/57140934

you are viewing a single comment's thread
view the rest of the comments
[-] Jack_Burton@lemmy.ca 1 points 3 days ago* (last edited 3 days ago)

I've reinstalled Cachy. Still having issues with setting up my emby server. I left the drives in the /run/media/user directory, though the /user folder has a lock on it. I can chown to me, but it doesn't stay after reboot. In fact nothing does, the hello screen pops up every time even when it's switched off and I had to re-do permissions on everything to let the server in. Permissions for the server say they're correct, but in the right-click permissions, the Group, Owner, Others pulldowns are blank and greyed out. This is ls -l from /run/media/user

drwxrwxrwx 1 user user 24576 Dec 18 15:26  Samsung
drwxrwxrwx 1 user user  4096 Aug 21 15:47  Seagate
drwxrwxrwx 1 user user  4096 Dec 17 20:32 'Seagate II'
drwxrwxr-x 1 user user  24576 Dec 18 15:26 'Seagate III'
drwxrwxr-x 1 user user  4096 Dec 17 20:29 'Storage Mark IV'
drwxrwxrwx 1 user user  4096 Nov 29 20:18 'Storage Mark V'

Can't see it here but the first 3 drives names and the last one are highlighted green and I have no idea what that means.

[-] littleomid@feddit.org 1 points 2 days ago* (last edited 2 days ago)

Honest critique: if you want to use arch, learn to install it manually first. I don’t like the fact that Cachy advertises itself as beginner friendly because it obviously is not.

Hit the arch wiki and learn how to mount, his file system works etc. also for love of God, stop chowning/777ing all your files 😀

[-] Jack_Burton@lemmy.ca 2 points 2 days ago* (last edited 2 days ago)

Haha I didn't 777 anything, that's how they mounted as root after changing the mount point. But you're totally right, Cachy gave me the impression it would be a simple setup.

That said, I'm hoping you can answer a quick question. I've reinstalled again, changed mount points with gnome disk utility to /mnt/drivename, and they mount at boot but they're all owned by root now. I'm able to access everything (I'm assuming due to 777) and my server can see everything using sudo setfacl -m user:emby:rwx /mnt (~~but this doesn't stay after reboot and I have to do it again~~).

The server has an option to auto organize files, but it can't access the folder I use for it, it says the drive is read only (I can create/delete in it so it must be rw).

After everything I've learned, I think I need to dive into learning fstab and permissions properly, but honestly I'm pretty overwhelmed. At this point, would you say permissions and fstab are where I need to focus? Fstab because drives mount as root and permissions for, well, permissions? I'm just looking for guidance on where to start to solve this myself.

EDIT: I think the issue is that the drives are ntfs so they mount as root automatically. Does this sound right? Unmount in gnome disk utility and change mount options back to auto. Then mount -t ntfs3 /dev/sdxY /mnt/drivename

If this is correct, I'm still unsure about the fact that gnome disk utility made changes to fstab and I don't know if that will cause issues?

this post was submitted on 17 Dec 2025
19 points (100.0% liked)

Linux

57274 readers
148 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS