RetroZelda 6 Posted June 5, 2023 Posted June 5, 2023 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 281 Posted June 5, 2023 Solution Posted June 5, 2023 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 6 Posted June 5, 2023 Author Posted June 5, 2023 oh yes! I completely forgot that the custom acl was needed! Thank you!
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