This is likely a Linux question, I just am wondering why I can’t unplug an external, plug it into a new jellyfin setup (different machine), run chmod 777 for a local network and have it work.

It won’t add any of the drives/folders. Seems like an easy task, Windows or Mac OS could do it without thought, it’s a drive, with permissions. Why am I fighting it?

  • beerclue@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 days ago

    If you open a terminal, cd <location> and run ls -la, what do you get? Who’s the owner and what are the permissions of the subdirectories?

    Are there any errors in the Jellyfin interface? Have you checked the logs?

    777 permissions are a bit overkill, I think 755 should be enough, since you don’t need to “execute” mkv file.

  • Ada@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 days ago

    Are you running it in docker, and have you allowed the container access to those folders? Is the disk formatted in a format that allows linux permissions?

  • LifeInMultipleChoice@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 days ago

    I go to the folder, copy the path, and run chmod from terminal, then copy the path to the jellyfin add library if your curious… it just won’t recognize anything

    • Dave.@aussie.zone
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 days ago

      Are you doing chmod with the recursive option? You could list a few subfolders with “ls -la” and see who owns them and what permissions they have.

      It’s also possible that your distribution mounts that drive with fixed permissions that override whatever you’re trying to set. Checking with “mount” and seeing what it spits out for the mount options for that device might give a clue.

        • bonenode@piefed.social
          link
          fedilink
          English
          arrow-up
          0
          ·
          4 days ago

          If you just rund “chmod 777” on that drive it will set these permissions only for that folder, not for subfolders or files (afaik) within this folder. By setting it as recursive, it will apply permissions to every single file and folder in any subfolder.

          So if you can confirm you are only using the command "chmod 777” then that is your issue. You’d need to add sonething like -R or -r (look it up first, can make a difference and I don’t remember…) to the command.

            • bonenode@piefed.social
              link
              fedilink
              English
              arrow-up
              0
              ·
              4 days ago

              You still didn’t really answer how you are running chmod and there’s two users here already telling you it could solve the issue that you need to run it recursively.

              From your answer I can assume you are not doing that and it is easy to just test it, so why don’t you give it a try and if it doesn’t work then there is a whole different issue than setting permissions.