Ubuntu permissions - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting) +--- Thread: Ubuntu permissions (/t-ubuntu-permissions) |
Ubuntu permissions - FuzzyDunlop - 2023-11-29 Hello all, Just installed Jellyfin on Ubuntu (22.04.3), and in the setup process, when trying to add a directory, I keep getting the message "The path could not be found. Please ensure the path is valid and try again." From what I can see, all users have permission to access the directory. Where else should I be looking? Apologies if this is redundant. This appears to be pretty straightforward, but everything I found when searching didn't seem to apply. Thanks in advance. RE: Ubuntu permissions - TheDreadPirate - 2023-11-29 Is the directory a network share that you mounted? An external hard drive? Are there any ACLs on ANY of the directories in the path? RE: Ubuntu permissions - FuzzyDunlop - 2023-11-29 It is an external hard drive. Looking into ACL now. Sorry...I've been using Ubuntu for years, but have had almost no need to investigate/change any settings. RE: Ubuntu permissions - FuzzyDunlop - 2023-11-30 The ACL for the drive is set to... user: rwx group: rwx other: r-x and for the folder it's... user: rwx group: r-x other r-x Again, thanks in advance. RE: Ubuntu permissions - TheDreadPirate - 2023-11-30 If you don't need the ACLs, I would just remove them and use standard linux permissions. Code: setfacl -b -R /path/to/drive/mnt/ That will recursively remove all the ACLs I've found that ACLs, even when it looks like they should allow access, can be hard to get working. RE: Ubuntu permissions - FuzzyDunlop - 2023-11-30 I tried it, and nothing changed, but I did not get any error indicating why it wouldn't work. Any ideas? RE: Ubuntu permissions - TheDreadPirate - 2023-11-30 What is the full path do your library(s)? So I can construct a command for you to run. Also, is the external hard drive formatted as EXT4 or something else? And what are the mount parameters of the external hard drive? RE: Ubuntu permissions - FuzzyDunlop - 2023-11-30 Full path is /media/lucky/Elements. It's formatted as NTFS. Should I reformat? I also tried a local folder, before and after removing ACLs, and still got the same "path not found" message. RE: Ubuntu permissions - TheDreadPirate - 2023-11-30 (2023-11-30, 07:49 PM)FuzzyDunlop Wrote: Full path is /media/lucky/Elements. It's formatted as NTFS. Should I reformat? It's been a while since I used Linux + NTFS. But I remember that there are some issues with permission compatibility. Reformat to EXT4. If you have multiple drives or drives on other computers, backup your data before reformatting, obviously. RE: Ubuntu permissions - FuzzyDunlop - 2023-12-02 It took some time to back everything up, but I got it done this morning, and I reformatted to ext4, removed ACLs, and still got the same message. I tried reformatting again to FAT, just for the hell of it, and got the same message again, even after removing the ACLs. Any other ideas? |