• 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 WebUI Error Deleting Media

     
    • 0 Vote(s) - 0 Average

    WebUI Error Deleting Media

    Probably a permissions problem
    FortySixnTwo
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    #8
    2024-01-27, 11:42 AM (This post was last modified: 2024-01-27, 01:54 PM by FortySixnTwo. Edited 6 times in total.)
    Files & folders are now mapped to users for the Jellyfin VM.

    Still can't delete any files/folder using the webui which are owned by the media group but not the jellyfin user.

    I can delete the files & folders using rm, when logged in as the jellyfin user via ssh.

    So back again to the WebUI being unable to delete media but the user account being able to in shell.

    User is no longer nobody, group owner is 'media'.
    Code:
    jellyfin@jellyfin:/root$ ls -l /shared/media/Film/[ITEM]
    total 1436188
    -rwxrwxr-x 1 1000 media        37 Oct  5  2021 '[FileName].txt'
    -rwxrwxr-x 1 1000 media        609 Oct  5  2021  [filename].NFO
    -rwxrwxr-x 1 1000 media 1470642428 Oct  5  2021  [item].avi
    jellyfin@jellyfin:/root$ ls -l "/shared/media/Film/[item]/[filename].txt"
    -rwxrwxr-x 1 1000 media 37 Oct  5  2021 '/shared/media/Film/[item]/[filename].txt'
    Files can be deleted.
    Code:
    jellyfin@jellyfin:/root$ rm "/shared/media/Film/[item]/[filename].txt"
    jellyfin@jellyfin:/root$ ls -l "/shared/media/Film/[item]/[filename].txt"
    ls: cannot access '/shared/media/Film/[item]/[filename].txt': No such file or directory
    Directories can also be deleted by the 'jellyfin' user.
    Code:
    jellyfin@jellyfin:/root$ rm -rf /shared/media/Film/[item]/
    jellyfin@jellyfin:/root$ ls -l /shared/media/Film/[item]/
    ls: cannot access '/shared/media/Film/[item]/': No such file or directory

    Why does the WebUI not work with just group ownership & group wrx permissions when the jellyfin user account works with just group perms? Does the WebUI use a different user for deleting things?

    Edit: WebUI WILL delete a folder or directory if the parent directory belongs the 'jellyfin' account. So it looks to me like the WebUI is either ignoring the group ownership or write permissions, or it's operating under sticky bit permissions even though I don't have sticky bit set.

    Edit2: Does the WebUI use the account set in jellyfin.service.d.conf, 'jellyfin' for me, for all operations? That's the only thing i can think might be an issue at this point.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    WebUI Error Deleting Media - by FortySixnTwo - 2024-01-25, 03:02 PM
    RE: WebUI Error Deleting Media - by tmsrxzar - 2024-01-25, 03:16 PM
    RE: WebUI Error Deleting Media - by FortySixnTwo - 2024-01-25, 03:46 PM
    RE: WebUI Error Deleting Media - by TheDreadPirate - 2024-01-25, 05:43 PM
    RE: WebUI Error Deleting Media - by FortySixnTwo - 2024-01-25, 09:23 PM
    RE: WebUI Error Deleting Media - by tmsrxzar - 2024-01-25, 09:51 PM
    RE: WebUI Error Deleting Media - by FortySixnTwo - 2024-01-26, 12:26 PM
    RE: WebUI Error Deleting Media - by FortySixnTwo - 2024-01-27, 11:42 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