WilliamStorm 0 Posted May 25, 2016 Share Posted May 25, 2016 Hello,Im new to Emby as i was using Plex before, im needing some support as when i click add library folder etc and go to the file folder using emby navigation, when i click on my domain folder (has all the files) the library states 'Current Path:....' and i get put back to the start of clicking folders again till i reach the same point.Anyone help? please Link to comment Share on other sites More sharing options...
mooks 0 Posted May 25, 2016 Share Posted May 25, 2016 What's the owner of the folder/files and which chmod do they have? Link to comment Share on other sites More sharing options...
WilliamStorm 0 Posted May 25, 2016 Author Share Posted May 25, 2016 not quite sure, the folder im trying to access is mydigitalmovies.co.uk but from there it just goes to empty path and have to go through /var/hosts/www etc again and it just keeps doing it. i know all the folders needed are 777 chmod Link to comment Share on other sites More sharing options...
mooks 0 Posted May 25, 2016 Share Posted May 25, 2016 Could you check this? Emby Server normally runs as user 'emby'. For read access you have to: chmod -R o+r /var/www/vhosts/mydigitalmovies.co.uk Link to comment Share on other sites More sharing options...
WilliamStorm 0 Posted May 25, 2016 Author Share Posted May 25, 2016 tried that, and nothing happened still goes back to blank. Link to comment Share on other sites More sharing options...
puithove 208 Posted May 25, 2016 Share Posted May 25, 2016 (edited) That's what happens when the user that the Emby server is running under doesn't have access to the dir you're trying to browse into (just verified that on mine). You first need to figure out what user the server process is running under - depends on the package for your distribution, but I think most are creating a user named "emby". Then you need to make sure that user has at least r-x to the dir (and all parent dirs) and at least r-- to all the files. Here's a how-to: http://emby.media/community/index.php?/topic/32218-file-permissions-guide-for-new-linux-users/ One thing you can do to try to verify the permissions is to become that user by: sudo -i -u emby Then you can move around the filesystem and see what that user can see/do. Edited May 25, 2016 by puithove Link to comment Share on other sites More sharing options...
dcrdev 251 Posted May 25, 2016 Share Posted May 25, 2016 At a shell navigate to that folder and execute the following commands: getfacl . ls -hlpa Post the output of both those commands here. Link to comment Share on other sites More sharing options...
WilliamStorm 0 Posted May 26, 2016 Author Share Posted May 26, 2016 getfacl .# file: .# owner: movies# group: psaservuser::rwxgroup::--xother::r--ls -hlpatotal 20Kdrwx--xr-- 5 movies psaserv 4.0K May 9 00:50 ./drwxr-xr-x 9 root root 4.0K May 25 19:10 ../drwxr-xr-x 2 movies psacln 4.0K May 8 18:29 error_docs/drwxr-xr-- 8 movies psaserv 4.0K May 17 15:28 httpdocs/drwx---r-- 3 movies root 4.0K May 25 03:48 logs/ Link to comment Share on other sites More sharing options...
puithove 208 Posted May 27, 2016 Share Posted May 27, 2016 So that tells you everything you need to know. Sent from my iPhone using Tapatalk 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