16
Help changing mount point in Cachyos
(lemmy.ca)
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.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
Probably not. Yes
/runis a tmpfs, but that doesn't affect any other filesystems mounted inside of it - those have their own permissions (or don't in the case of FAT).Since the drives are being mounted in
/run/mediathey're probably being mounted by your file manager, not via/etc/fstab. You could instead have them mounted on boot by the root user via/etc/fstab(the classic way) orsystemd.mount(slightly friendlier), or configure polkit to allow mounting drives without a password (more reasonable if you're talking about external or thumb drives).The permission issue is probably for a different reason. Are you sure the filesystem(s) you're mounting supports POSIX style permissions? FAT doesn't, and NTFS requires a special flag for it. The files might look like they have permissions, but they're coming from the mount options and modifying them will either fail outright or not do anything.
Edit: Run
lsblk -fto see all connected drives, partitions and file systems and their file system type.This is where I'm stuck. I read that changing the mount via fstab requires the UUID, which I can see with lsblk -f. But /etc/fstab has the same UUID for every drive, I have no idea what to do with it. As it is the 3 internal sata drives don't auto mount (even though they're selected in settings) and require a password to mount, and revert pemissions after reboot. I read it's due to /run but I'm stuck.
They're NTFS. I just switched from Ubuntu Studio to Cachyos and they worked fine with mounting and permissions on Studio. Studio had them mounted in /media, took me a while to find that they were under /run/media on Cachy.
That would be because every entry (except
/bootand/tmp) is a subvolume of the same btrfs volume. Your other drives just aren't in there.You might want to read
man fstaband maybe the Arch wiki pages for fstab and NTFS. It's not that difficult as long as you make sure to not reboot with a broken fstab (usingnofailis also a good idea). And yes you can just mount them to/mediaif you want, as long as the mount point is an empty directory.Ubuntu Studio might have achieved this in a different way but since you're in Arch land now it's probably better to do what the Arch documentation recommends.
Haha yeah it's been a journey. 5 months into Linux but I've learned a ton. I'll start digging into this and in the mean time just settle for mounting at boot and changing the permissions to /run/media/USER every time so my server can get in. Appreciate the time, thank you.