Jump to content

emby metadata permissions


Go to solution Solved by kikinjo,

Recommended Posts

RetroZelda
Posted

I recently had to move data around when i replaced a few of my drives(replaced 2 1tb drives with a single 14tb drive), and now im having issues with permissions.  Specifically I get this error when a new item is added to a library:

System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path '/media/storage/.metadata/emby/metadata/library/f4/f469726f8762265c362f95d98262fe92/chapters' is denied.
	 ---> System.IO.IOException: Permission denied


instead of trying to figure out why the permissions have changed(i have a hunch that I did an rsync wrong when moving the files over), im wondering what the permissions need to be?  I have the .metadata/emby folder set to be owned by emby:emby with 0755 but that doesnt seem to work.

Thanks

  • Solution
kikinjo
Posted

Hey Retrozelda

run this 3 commands on yor root metadata folders, replace my path with yours and it will be fine:

sudo setfacl -m u:emby:rwx /home/xbmc/_embymetdata/
sudo setfacl -R -m u:emby:rwx /home/xbmc/_embymetdata/
sudo setfacl -R -d -m u:emby:rwx /home/xbmc/_embymetdata/

 

RetroZelda
Posted

oh yes! I completely forgot that the custom acl was needed!  Thank you!

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...