• 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 Ubuntu permissions

     
    • 0 Vote(s) - 0 Average

    Ubuntu permissions

    intael
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2023 Dec
    Reputation: 0
    #11
    2023-12-02, 08:32 PM (This post was last modified: 2023-12-02, 08:34 PM by intael. Edited 2 times in total.)
    I'm storing my media in an NFTS partition while jellyfin server runs on a separate one. I use debian so my situation should be very similar to yours. In order to make this work I had to properly configure the mount of the NTFS partition.

    Try the following:
    - Given that Jellyfin runs under the jellyfin user and group, do add your user to the jellyfin group so that both the jellyfin user and your user share the permissions of the jellyfin group (this is just for convenience):
    Code:
    usermod -a -G jellyfin yourusername

    - Run the following to get the id of the jellyfin group:
    Code:
    getent group jellyfin

    - Run the following to get the id of your user:
    Code:
    id -u <username>

    - Edit the /etc/fstab file where you can configure your NTFS media partition. The entry of mine looks like this. Replace YOUR_UID and YOUR_GID by your groupid and userid from the previous steps. Permission-wise the key here is on that umask option. Apparently permissions on NTFS work by stating what's NOT allowed. So the 0s are actually 7 (allow all). In this case we're saying: Allow everything to the user and group, but nothing to others.
    Code:
    yadayada_partition_name ntfs rw,uid=YOUR_UID,gid=YOUR_GID,umask=007 0 2

    - Save and run the following to apply the mounting:
    Code:
    mount -a --verbose

    If everything went alright you should see the name of your partition and the result of mounting it.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Ubuntu permissions - by FuzzyDunlop - 2023-11-29, 06:34 PM
    RE: Ubuntu permissions - by TheDreadPirate - 2023-11-29, 06:46 PM
    RE: Ubuntu permissions - by FuzzyDunlop - 2023-11-29, 07:19 PM
    RE: Ubuntu permissions - by FuzzyDunlop - 2023-11-30, 12:00 PM
    RE: Ubuntu permissions - by TheDreadPirate - 2023-11-30, 03:54 PM
    RE: Ubuntu permissions - by FuzzyDunlop - 2023-11-30, 07:31 PM
    RE: Ubuntu permissions - by TheDreadPirate - 2023-11-30, 07:39 PM
    RE: Ubuntu permissions - by FuzzyDunlop - 2023-11-30, 07:49 PM
    RE: Ubuntu permissions - by TheDreadPirate - 2023-11-30, 07:58 PM
    RE: Ubuntu permissions - by FuzzyDunlop - 2023-12-02, 07:57 PM
    RE: Ubuntu permissions - by intael - 2023-12-02, 08:32 PM
    RE: Ubuntu permissions - by FuzzyDunlop - 2023-12-03, 07:19 PM
    RE: Ubuntu permissions - by TheDreadPirate - 2023-12-03, 08:12 PM
    RE: Ubuntu permissions - by FuzzyDunlop - 2023-12-09, 05:46 PM
    RE: Ubuntu permissions - by TheDreadPirate - 2023-12-09, 06:01 PM
    RE: Ubuntu permissions - by FuzzyDunlop - 2023-12-09, 08:00 PM
    RE: Ubuntu permissions - by TheDreadPirate - 2023-12-09, 08:07 PM
    RE: Ubuntu permissions - by FuzzyDunlop - 2023-12-09, 08:19 PM
    RE: Ubuntu permissions - by TheDreadPirate - 2023-12-09, 08:30 PM
    RE: Ubuntu permissions - by FuzzyDunlop - 2023-12-09, 08:45 PM
    RE: Ubuntu permissions - by TheDreadPirate - 2023-12-09, 09:05 PM

    • 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