# Jellyfin Permission Problem

**URL:** <https://forum.endeavouros.com/t/jellyfin-permission-problem/27187>\
**Category:** Applications\
**Created:** [May 18, 2022, 10:56am UTC](https://forum.endeavouros.com/t/jellyfin-permission-problem/27187 "2022-05-18T10:56:59Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![mmtech](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/m/2acd7d/32.png) [@mmtech](https://forum.endeavouros.com/u/mmtech)\
**Post date:** [May 18, 2022, 10:56am UTC](https://forum.endeavouros.com/t/jellyfin-permission-problem/27187/1 "2022-05-18T10:56:59Z")

</div>

Hi there  
I want to set up my media server as I did it in windows using Jellyfin.  
So I’m using [jellyfin](https://aur.archlinux.org/packages/jellyfin) AUR to install it.  
Some problem with service occur, and I’m successfully managed it with jellyfin.service and some systmctl command.  
But now when I want to configure library it just shows folder in "/ " and /home/$user directory.  
I think it’s necessary to mention i have some NTFS drive and an ex4(to extend home) and all of them set up mount point with fstab.  
my fstab:

```auto
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
UUID=Censored /boot/efi vfat defaults,noatime 0 2
UUID=Censored / ext4 defaults,noatime 0 1
UUID=Censored /home/$USER/Mount/LinuxExtend ext4 defaults,noatime 0 0
UUID=Censored /home/$USER/Mount/H ntfs-3g defaults,noatime 0 0
UUID=Censored /home/$USER/Mount/F ntfs-3g defaults,noatime 0 0
UUID=Censored /home/$USER/Mount/E ntfs-3g defaults,noatime 0 0
UUID=Censored /home/$USER/Mount/G ntfs-3g defaults,noatime 0 0
UUID=Censored /home/$USER/Mount/C ntfs-3g defaults,noatime 0 0

```

trying with:

```auto
chmod -R 775 /home/$USER/Mount

```

But doesn’t help  
and:

```auto
 ls -al /home/$USER/Mount

```

retuned :

```auto
drwxrwxr-x 8 $USER $USER 4096 May 12 21:47 .
drwx------ 29 $USER $USER 4096 May 18 14:39 ..
drwxrwxrwx 1 root root 12288 May 10 11:37 C
drwxrwxrwx 1 root root 28672 May 10 11:37 E
drwxrwxrwx 1 root root 65536 May 12 15:21 F
drwxrwxrwx 1 root root 16384 May 10 11:37 G
drwxrwxrwx 1 root root 12288 May 10 11:37 H
drwxrwxr-x 5 $USER root 4096 May 12 10:57 LinuxExtend

```

and one more thing  
I noticed that jellyfin make a new user group “jellyfin” and a user which is “jellyfin”.  
Would you some help?

---

<div class="post-metadata">

**Author:** ![Data](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/data/32/49870_2.png) [@Data](https://forum.endeavouros.com/u/Data)\
**Post date:** [May 18, 2022, 10:58am UTC](https://forum.endeavouros.com/t/jellyfin-permission-problem/27187/2 "2022-05-18T10:58:32Z")

</div>

Welcome to the forum someone will be along shortly with an answer.

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [May 18, 2022, 12:17pm UTC](https://forum.endeavouros.com/t/jellyfin-permission-problem/27187/3 "2022-05-18T12:17:45Z")

</div>

> [@mmtech](#):
>
> `UUID=Censored /home/$USER/Mount/G ntfs-3g defaults,noatime 0 0`

ntfs mounts need to have their permissions set at mount time. You aren’t setting any here.

Read [this](https://wiki.archlinux.org/title/NTFS-3G#Linux_compatible_permissions) for the correct way to do that.

> [@mmtech](#):
>
> ```auto
> chmod -R 775 /home/$USER/Mount
> 
> ```
> 
> But doesn’t help

That is because ntfs doesn’t support POSIX(linux-style) permissions without a bunch of special handling. That means chmod, chown and friends won’t work.

---

<div class="post-metadata">

**Author:** ![mmtech](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/m/2acd7d/32.png) [@mmtech](https://forum.endeavouros.com/u/mmtech)\
**Post date:** [May 18, 2022, 1:02pm UTC](https://forum.endeavouros.com/t/jellyfin-permission-problem/27187/4 "2022-05-18T13:02:12Z")

</div>

Thank you for your response.  
Can I add multiple uid=_userid_,gid=_groupid_ for each drive I mount?  
Because my user in $USER groupid and the jellyfin in the jellyfin groupid

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [May 18, 2022, 1:03pm UTC](https://forum.endeavouros.com/t/jellyfin-permission-problem/27187/5 "2022-05-18T13:03:34Z")

</div>

> [@mmtech](#):
>
> Can I add multiple uid=_userid_,gid=_groupid_ for each drive I mount?

No.

> [@mmtech](#):
>
> Because my user in $USER groupid and the jellyfin in the jellyfin groupid

Does jellyfin need read/write or just read?

---

<div class="post-metadata">

**Author:** ![mmtech](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/m/2acd7d/32.png) [@mmtech](https://forum.endeavouros.com/u/mmtech)\
**Post date:** [May 18, 2022, 1:19pm UTC](https://forum.endeavouros.com/t/jellyfin-permission-problem/27187/6 "2022-05-18T13:19:05Z")

</div>

I think it’s better If possible to give him read/write, but read only should be enough.

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [May 18, 2022, 1:25pm UTC](https://forum.endeavouros.com/t/jellyfin-permission-problem/27187/7 "2022-05-18T13:25:09Z")

</div>

Then just set the permissions to be owned by your user and make the files world readable with `umask=0022`

Better yet, you could use dmask/fmask instead, like this: `dmask=0022,fmask=0133`

---

<div class="post-metadata">

**Author:** ![mmtech](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/m/2acd7d/32.png) [@mmtech](https://forum.endeavouros.com/u/mmtech)\
**Post date:** [May 18, 2022, 1:44pm UTC](https://forum.endeavouros.com/t/jellyfin-permission-problem/27187/8 "2022-05-18T13:44:34Z")

</div>

So another problem came up.  
When I want to choose a directory to add them to jellyfin library it shows root folder like etc., var ,mnt , home …. But when I choose /home then /$USER doesn’t show directory I have in /home/$USER like mount, downloads, document …

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [May 18, 2022, 1:46pm UTC](https://forum.endeavouros.com/t/jellyfin-permission-problem/27187/9 "2022-05-18T13:46:51Z")

</div>

That is because your home is only visible by your user account, not the jellyfin user.

You could add the jellyfin to the group that is the same as your username although that would give it access to most of what is in your home directory which you may or may not want that user to have.

---

<div class="post-metadata">

**Author:** ![mmtech](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/m/2acd7d/32.png) [@mmtech](https://forum.endeavouros.com/u/mmtech)\
**Post date:** [May 18, 2022, 2:05pm UTC](https://forum.endeavouros.com/t/jellyfin-permission-problem/27187/10 "2022-05-18T14:05:43Z")

</div>

before I open this topic I used chown and make /home directory my own  
so now i just run:

```auto
chmod 775 /home/$USER

```

and problem solved for now.  
thank you for your time dear dalto

---

<div class="post-metadata">

**Author:** ![system](https://forum.endeavouros.com/uploads/default/original/2X/9/9ea52f9fd5ef8e609e593c362d61a36295f48be8.png) [@system](https://forum.endeavouros.com/u/system)\
**Post date:** [May 20, 2022, 2:06pm UTC](https://forum.endeavouros.com/t/jellyfin-permission-problem/27187/11 "2022-05-20T14:06:01Z")

</div>

Closed on May 20, 2022, 2:06pm UTC

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
