• 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 How do I modify permissions so Jellyfin can delete files without messing up Sonarr?

     
    • 0 Vote(s) - 0 Average

    How do I modify permissions so Jellyfin can delete files without messing up Sonarr?

    Robin Ogilvie
    Offline

    Junior Member

    Posts: 3
    Threads: 2
    Joined: 2023 Sep
    Reputation: 0
    #1
    2023-09-17, 03:00 AM (This post was last modified: 2023-09-17, 03:09 AM by TheDreadPirate. Edited 1 time in total.)
    I'm using Sonarr and <something we don't mention here> to find and download my files.  Currently I have Jellyfin referencing the Library for my shows at "/NAS/sonarr"

    I'm not well versed in linux permissions at all, but when I run
    Code:
    ls -la /NAS/sonarr
    I get:

    Code:
    drwxr-xr-x 4 sonarr sonarr    6 Sep 17 02:53  .
    drwxr-xr-x 7 root  root      9 Sep  4 13:55  ..
    drwxrwxr-x 3 sonarr sonarr    5 Sep 17 02:42 'Big Brother (US)'
    drwxrwxr-x 3 sonarr sonarr    5 Sep 17 02:40 'The Amazing Race Canada'

    When I try to delete files via Jellyfin it says "There was an error deleting the item from the server. Please check that Jellyfin has write access to the media folder and try again."  I presume this is because Jellyfin is using a different user than "sonarr".

    How can I go about modifying permissions so that both Sonarr and Jellyfin both have privileges to read, write, modify, and delete these files?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2023-09-17, 03:10 AM (This post was last modified: 2023-09-17, 03:10 AM by TheDreadPirate.)
    Without giving wide open permissions, you could add jellyfin to the sonarr group.

    sudo usermod -a -G sonarr jellyfin
    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