crazy4emby 1 Posted October 14, 2018 Share Posted October 14, 2018 Hi Team. I'm having fits trying to get Emby to add a library. My path, with and without the network, turns the magnifying glass green. But then when I click ok I get this message. I am mounting the drive with fstab: /dev/sda1 /media/kiosk/MEDIADRIVE ntfs-3g rw,user,exec,umask=000 0 0 All of my permissions are read write everyone: kiosk@orangepipc:/media/kiosk/MEDIADRIVE$ ls -l total 0 drwxrwxrwx 1 root root 0 Oct 14 00:22 Movies drwxrwxrwx 1 root root 0 Oct 14 00:17 $RECYCLE.BIN drwxrwxrwx 1 root root 0 Oct 14 00:16 System Volume Information drwxrwxrwx 1 root root 0 Oct 14 00:24 TV Shows This is an orange pi pc running armbian legacy. I have trolled the other posts with similar screens but nobody seems to have this problem on a linux box. Any help would be help. Link to comment Share on other sites More sharing options...
Luke 37231 Posted October 14, 2018 Share Posted October 14, 2018 Emby Server must not have read permission to that folder. Link to comment Share on other sites More sharing options...
analogking 2 Posted October 14, 2018 Share Posted October 14, 2018 Did you try creating a file from terminal outside of Emby? sudo -u emby bash cd /media/kiosk/MEDIADRIVE touch test.file Link to comment Share on other sites More sharing options...
crazy4emby 1 Posted October 14, 2018 Author Share Posted October 14, 2018 If everybody has permissions why wouldn't Emby? Why would it be green? kiosk@orangepipc:/media/kiosk/MEDIADRIVE$ sudo -u emby bash [sudo] password for kiosk: emby@orangepipc:/media/kiosk/MEDIADRIVE$ touch test.file emby@orangepipc:/media/kiosk/MEDIADRIVE$ ls Movies $RECYCLE.BIN System Volume Information test.file TV Shows emby@orangepipc:/media/kiosk/MEDIADRIVE$ Link to comment Share on other sites More sharing options...
Luke 37231 Posted October 14, 2018 Share Posted October 14, 2018 Did you check permissions for the emby system user? Link to comment Share on other sites More sharing options...
lindzay 1 Posted February 7, 2020 Share Posted February 7, 2020 You would think these permissions would work -rw-rw-rw- But no - they don't You have to also make the directory + files executable drwxrwxrwx 5 admin1 admin1 4096 Feb 4 19:44 u41videols -l /mnt/u41video/MOVIES.41/total 5689972-rwxrwxrwx 1 admin1 admin1 2563381241 Feb 2 22:17 aaa.mkv-rwxrwxrwx 1 admin1 admin1 1697241144 Feb 5 05:53 bbb.mkv-rwxrwxrwx 1 admin1 admin1 1565891858 Feb 2 20:24 ccc.mkv Simply do a sudo chmod -R a+rwx /mnt/u41video ... and it works. Link to comment Share on other sites More sharing options...
Luke 37231 Posted February 7, 2020 Share Posted February 7, 2020 You would think these permissions would work -rw-rw-rw- But no - they don't You have to also make the directory + files executable drwxrwxrwx 5 admin1 admin1 4096 Feb 4 19:44 u41video ls -l /mnt/u41video/MOVIES.41/ total 5689972 -rwxrwxrwx 1 admin1 admin1 2563381241 Feb 2 22:17 aaa.mkv -rwxrwxrwx 1 admin1 admin1 1697241144 Feb 5 05:53 bbb.mkv -rwxrwxrwx 1 admin1 admin1 1565891858 Feb 2 20:24 ccc.mkv Simply do a sudo chmod -R a+rwx /mnt/u41video ... and it works. Correct it needs to be recursive if you want your media to be detected. Link to comment Share on other sites More sharing options...
mastrmind11 717 Posted February 7, 2020 Share Posted February 7, 2020 You would think these permissions would work -rw-rw-rw- But no - they don't You have to also make the directory + files executable drwxrwxrwx 5 admin1 admin1 4096 Feb 4 19:44 u41video ls -l /mnt/u41video/MOVIES.41/ total 5689972 -rwxrwxrwx 1 admin1 admin1 2563381241 Feb 2 22:17 aaa.mkv -rwxrwxrwx 1 admin1 admin1 1697241144 Feb 5 05:53 bbb.mkv -rwxrwxrwx 1 admin1 admin1 1565891858 Feb 2 20:24 ccc.mkv Simply do a sudo chmod -R a+rwx /mnt/u41video ... and it works. The files themselves definitely don't need to be executable. The folder definitely does, since that's how the file system gives access to the stuff inside the folder. Basic linux permissioning, nothing specific to Emby here. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now