2023-07-20, 09:52 PM
(2023-07-20, 09:46 PM)TheDreadPirate Wrote: I can't think of a good reason why you would install an app, or have its data directory, or put your media library in your home directory. The point of a home directory is that the files are accessible to you and you alone (not including root).You would have to add jellyfin to the group ownership of the folder.
This was moreso because I was still getting to grips with Ubuntu, which doesn't allow root access by default, and so FileZilla was struggling to upload into /media. I'm personally used to CentOS (which should tell you how long it's been since I last used Linux), which doesn't have this issue. I ended up doing a CHMOD 777 for /media and fixed that issue that way. No clue why the data path is in that folder, though, as I never screwed around with that.
Quote:Code:chown supertanno:jellyfin /home/supertanno /home/supertanno/jellyfin
chmod 770 /home/supertanno /home/supertanno/jellyfin
This might also work? Slightly more restrictive permissions.
Code:chown supertanno:jellyfin /home/supertanno/jellyfin
chmod 755 /home/supertanno
chmod 770 /home/supertanno/jellyfin
But really, nothing you need to regularly share with other users or processes should be in your home.
With the above in mind, would there be a way to move the data folder to a more sensible place? If so, which one would you recommend?