this post was submitted on 24 Apr 2024
20 points (91.7% liked)

Linux

47952 readers
1873 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 5 years ago
MODERATORS
 

Edit: I found the solution! All I had to do was add the uid with my username, then I also had to add "forceuid" for it to actually go through. My fstab entry now looks like:

//192.168.1.21/Media-Library /mnt/Home-NAS/Media-Library cifs user=Jellyfin,password=password,uid=my_uid,forceuid,iocharset=utf8 0 0

Thank you @lemmyreader@lemmy.ml for posting the solution from Stack Exchange!


Hello! I have an Ubuntu server with a NAS mounted using cifs-utils, and I've created an entry in fstab for the share to be mounted at boot.

My fstab entry looks like this:

//192.168.1.21/Media-Library /mnt/Home-NAS/Media-Library cifs user=Jellyfin,password=password,iocharset=utf8 0 0

(The password is not actually "password" of course)

However, while I'm able to access the share perfectly fine, and even have a Jellyfin server reading from it, I cannot write files to the share without using sudo. I have some applications that manage metadata for music, and they're not able to change or add files in any way.

I am however able to access the share from my Fedora machine just fine with the same credentials, since I use KDE, I just added them to the default "Windows Share Credentials" setting. I don't have the issue where I have to use sudo to modify files, so I know it's just an issue with the share mounted to the server and not permission issues on the NAS itself.

What am I doing wrong?

you are viewing a single comment's thread
view the rest of the comments
[–] acockworkorange@mander.xyz 2 points 6 months ago