this post was submitted on 17 Dec 2025
18 points (100.0% liked)
Linux
60306 readers
898 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
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Can you post your fstab?
And your lsblk-f
command not found
Are you sure? That seems unlikely. Wray does pacman -Qi util-linux say?
Also see this: https://wiki.cachyos.org/configuration/automount_with_fstab/
Nevermind, I didn't put a space for -f
Then please post the output of lsblk -f.
All you need to do after that is to take the UUID and add it to /etc/fstab.
Thank you. I've since changed the mount point to /media/user/drive folder with gnome disk utility. They now boot up no problem, but I've hit some other snags haha. The mount point is owned by me but the drives themselves are root with full privileges for all users (not sure if that's normal, chown does nothing). I can manually create, delete, move, etc in the drives but my media server (emby) can access everything but cannot create or modify, it says the drives are read only. I can't remember the command I used to check but the all seem to be rw enabled. I can't change the group to emby from root either, chown seems like it succeeds but permissions don't change. They're also all fuseblk filesystem now.
Everything but the server seems to be working but I don't feel like it's right with permissions. After Ubuntu Studio I thought I'd have a handle on going to arch-based haha, everything else is perfect it's just this drive stuff that's not right.
What does ls -l say in the directory where you mounted the drive?
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
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.
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 😀
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/drivenameIf 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?