Jump to content


Photo

Network Path Problems

library setup

  • Please log in to reply
9 replies to this topic

#1 BP_Tec OFFLINE  

BP_Tec

    Newbie

  • Members
  • 6 posts
  • Local time: 10:05 AM

Posted 23 June 2019 - 07:39 AM

Hi all,

 

So I'm having problems setting up my library on only one of my drives. I know this is probably a permissions issue, but I just cant figure out what the problem is.

 

5d0f60c22bf6e_Screenshotfrom201906231220

 

These are my media locations, the first two work fine, but the USER_DATA drive does not, and i get the error.

All locations are accessible from my Linux machine.

 

/home/alex/Videos

/mnt/BACKUP_DRIVE/media

/mnt/USER_DATA/media1

 

/home/user/Videos

drwxr-xr-x 6 alex alex 4096 Jun 22 15:43 Videos :D

 

/mnt/BACKUP_DRIVE/media

drwxr-xr-x  2 root    root    4096 Jun 23 12:23 media :D

 

/mnt/USER_DATA/media1

drwxr-xr-x   2 root    root     4096 Jun 23 12:23 media1 :angry:

 

 

If i change the owner and group on media1 to alex, i still get the same issue

chown alex:alex media1

 

drwxr-xr-x   2 alex alex  4096 Jun 23 12:23 media1
 

If I change it to emby:emby still exactly the same error. I also restated the emby service after each attempt.

So any help at all in understanding what is happening here would be awesome.

 

 

Kind regards

 

 



#2 mastrmind11 OFFLINE  

mastrmind11

    Advanced Member

  • Members
  • 2846 posts
  • Local time: 04:05 AM
  • LocationLong Island, NY

Posted 23 June 2019 - 08:37 AM

are all 3 shared the same way?  mounted the same way?  network shares?



#3 BP_Tec OFFLINE  

BP_Tec

    Newbie

  • Members
  • 6 posts
  • Local time: 10:05 AM

Posted 23 June 2019 - 09:04 AM

Ah I think i discovered the issue...

 

on the root of /mnt/USER_DATA there was no (group) and (all) permissions set.

drwx------ 16 alex alex 4096 Jun 23 12:23 USER_DATA

 

After trying different restrictive permissions, it looks like at the very minimum, the permissions need to be 755

/mnt/USER_DATA/media1

 

Could someone confirm that the emby account lies under the (all) group?



#4 BP_Tec OFFLINE  

BP_Tec

    Newbie

  • Members
  • 6 posts
  • Local time: 10:05 AM

Posted 23 June 2019 - 09:05 AM

Actually those permission needed to be applied to /mnt/USER_DATA



#5 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 142718 posts
  • Local time: 04:05 AM

Posted 23 June 2019 - 10:05 AM

Did that resolve it?



#6 BP_Tec OFFLINE  

BP_Tec

    Newbie

  • Members
  • 6 posts
  • Local time: 10:05 AM

Posted 23 June 2019 - 10:57 AM

Yes it all worked out, thanks :-)



#7 BP_Tec OFFLINE  

BP_Tec

    Newbie

  • Members
  • 6 posts
  • Local time: 10:05 AM

Posted 23 June 2019 - 11:07 AM

What are the minimum permissions that the emby group requires for a library it to operate?

It obviously needs read permission, but does it also need write and execute?

 

I'm guessing write is only needed if it need to store metadata or thumbs...


Edited by BP_Tec, 23 June 2019 - 11:21 AM.


#8 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 142718 posts
  • Local time: 04:05 AM

Posted 23 June 2019 - 12:52 PM

I'm guessing write is only needed if it need to store metadata or thumbs...

 

Correct. If not, then read is enough. Please let us know if this helps. Thanks.



#9 BP_Tec OFFLINE  

BP_Tec

    Newbie

  • Members
  • 6 posts
  • Local time: 10:05 AM

Posted 23 June 2019 - 02:22 PM

When I remove the execute permission I cant play my files, so I guess it needs at a minimum, Read and Execute ?


Edited by BP_Tec, 23 June 2019 - 02:25 PM.


#10 Q-Droid OFFLINE  

Q-Droid

    Advanced Member

  • Members
  • 331 posts
  • Local time: 04:05 AM

Posted 23 June 2019 - 02:59 PM

The emby user needs access to every directory along the path to the final directory with the media files. This comes up often enough that it should be included in bold letters in a sticky.

 

All directories need 'r' and 'x' in order for any user to access them.

 

If you want emby to be able to create files in the directory then write permissions are also needed in the specific directory. This could be done with ownership or group access or everyone access.


Edited by Q-Droid, 23 June 2019 - 03:03 PM.






Also tagged with one or more of these keywords: library, setup

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users