• 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 General Questions Web UI files Ownership?

     
    • 0 Vote(s) - 0 Average

    Web UI files Ownership?

    Who should own the Web UI files for Jellyfin?
    alphamike-1612
    Offline

    Junior Member

    Posts: 1
    Threads: 1
    Joined: 2023 Dec
    Reputation: 0
    Country:India
    #1
    2024-01-06, 04:48 PM (This post was last modified: 2024-01-06, 04:48 PM by alphamike-1612.)
    Hello,

    TL;DR - Can the web-ui files located at /usr/share/jellyfin/web-ui be owned by user jellyfin, without creating a vulnerability? (Default ownership is root)

    I have tried searching the official docs and forums and reddit but couldnt find what I was looking for.

    System - Debian 12 Bookworm x64.

    I have installed jellyfin via the manual method (add repo, install jellyfin with sudo apt install). In this case, user jellyfin has been created who owns the log files at /var/log/jellyfin and the json/xml files at etc/jellyfin.

    However, the web-ui at /usr/share/jellyfin is owned by root. (The folder jellyfin itself is also owned by root.) This is not a problem in day to day use, but whenever I use plugins that would like to modify the index.html file inside this folder, they complain and I am required to manually enter the values inside the file.

    I am tempted to change ownership of this folder also to the user jellyfin but I am wondering if there is a reason behind why the automatic install chose to keep this directory under root control?

    In other words, by changing the ownership am I inviting trouble for myself?

    If it makes a difference to security, my interface is accessible remotely via a reverse proxy. In other words, this means that my jellyfin cannot differentiate between a local and a remote connection since according to it, all connections originate from beyond the reverse proxy.

    Thank you,

    alphamike-1612
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-01-06, 09:41 PM
    Do not change ownership of the web folder. Even if you change the permissions, you would need to manually change modify those files for certain plugins anyway since the automated plugin install process just can't do that kind of task regardless of permissions. I'm assuming this is in regards to something like Jellyscrub or intro skipper.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • 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