• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting No Data for Jellyfin

     
    • 0 Vote(s) - 0 Average

    No Data for Jellyfin

    Group Permissions not working for Jellyfin Dataset
    hectorg
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 May
    Reputation: 0
    Country:United States
    #1
    2024-05-19, 09:10 PM
    After many days of trying different things I am unable to get Jellyfin to read my movie dataset when the owner and group change to the desired owner and group although the permissions to my knowledge are correct. The setup is as follows.

    Credentials
    group created: media
    - users in group: www-data, apps

    Datasets
    Pool Name: Pool 2
    Dataset Name: Jelly

    my movies are in the following path:  \mnt\Pool 2\Jelly\BoxOffice

    Details for Jelly Dataset

    - Owner: apps
    - Group: apps

    - POSIX Permissions

    User Obj – apps / Read | Wite | Execute
    Read | Write | Execute
    Group Obj – apps / Read | Wite | Execute
    Read | Write | Execute
    Group – media / Read | Wite | Execute
    Read | Write | Execute
    Mask / Read | Wite | Execute
    Read | Write | Execute
    Other / None
    None
    User Obj – default – apps / Read | Wite | Execute
    Read | Write | Execute
    Group Obj – default – apps / Read | Wite | Execute
    Read | Write | Execute
    Group – default – media / Read | Wite | Execute
    Read | Write | Execute
    Mask – default / Read | Wite | Execute
    Read | Write | Execute
    Other – default / None
    oe

    If I go in to the dataset and apply owner / group and set all the permissions above recursively everything works perfectly.  The problem comes in when I perform an rsync from another server.  When I do this, it will change the permissions on purpose to match the system it is coming from. This changes the owner and group of the files to www-data:www-data as I show below. Technically when I do this it should still work because the dataset has the "media" group permissions assigned in the ACL ( see above has www-data in it ). I don't know why jellyfin is not able to read even if the permissions are set ( unless I am missing something). Yes I have stopped and started Jellyfin multiple times and yes I have even rebooted the NAS and nothing seems to work. I miagine I am missing some key thing but I have not been able to pinpoint it researching on forums and youtube. 

    Before I perform my rsync it works but I do not want the files to remain owned by apps so while it works, it wont work for me. Here is the getfacl details.

    root@truenas[/mnt/Pool 2]# getfacl /mnt/Pool\ 2/Jelly         
    getfacl: Removing leading '/' from absolute path names
    # file: mnt/Pool 2/Jelly
    # owner: apps
    # group: apps
    user::rwx
    group::rwx
    group:media:rwx
    mask::rwx
    other::---
    default:user::rwx
    default:group::rwx
    default:group:media:rwx
    default:mask::rwx
    defaultFace-with-open-mouthther::---

    root@truenas[/mnt/Pool 2]# getfacl /mnt/Pool\ 2/Jelly/BoxOffice
    getfacl: Removing leading '/' from absolute path names
    # file: mnt/Pool 2/Jelly/BoxOffice
    # owner: apps
    # group: apps
    user::rwx
    group::rwx
    group:media:rwx
    mask::rwx
    other::---
    default:user::rwx
    default:group::rwx
    default:group:media:rwx
    default:mask::rwx
    defaultFace-with-open-mouthther::---

    After my rsync, this is what the getfacl looks like. and at this point I am unable to scan the directory as Jellyfin loses all its access to the  files and makes me very unhappy in the process.  notice that only the BoxOffice permissions change owner and group but all else seems to remain the same. media should have permissions but Jellyfin seems to ignore them.

    root@truenas[~]# getfacl /mnt/Pool\ 2/Jelly         
    getfacl: Removing leading '/' from absolute path names
    # file: mnt/Pool 2/Jelly
    # owner: apps
    # group: apps
    user::rwx
    group::rwx
    group:media:rwx
    mask::rwx
    other::---
    default:user::rwx
    default:group::rwx
    default:group:media:rwx
    default:mask::rwx
    defaultFace-with-open-mouthther::---

    root@truenas[~]# getfacl /mnt/Pool\ 2/Jelly/BoxOffice
    getfacl: Removing leading '/' from absolute path names
    # file: mnt/Pool 2/Jelly/BoxOffice
    # owner: www-data
    # group: www-data
    user::rwx
    group::rwx
    group:media:rwx
    mask::rwx
    other::---
    default:user::rwx
    default:group::rwx
    default:group:media:rwx
    default:mask::rwx
    defaultFace-with-open-mouthther::---


    in case it helps this is the rsync command I am using.
    rsync -auzvP --delete -e "ssh -p22" "/path/to/files" "XXXXX@###.###.###.###Confused-facemnt/Pool 2/Jelly"
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    No Data for Jellyfin - by hectorg - 2024-05-19, 09:10 PM
    RE: No Data for Jellyfin - by TheDreadPirate - 2024-05-19, 09:52 PM
    RE: No Data for Jellyfin - by hectorg - 2024-05-20, 12:21 AM
    RE: No Data for Jellyfin - by TheDreadPirate - 2024-05-20, 12:42 AM
    RE: No Data for Jellyfin - by hectorg - 2024-05-20, 02:11 AM
    RE: No Data for Jellyfin - by TheDreadPirate - 2024-05-20, 12:57 PM
    RE: No Data for Jellyfin - by hectorg - 2024-05-21, 02:24 AM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode