Jump to content

Permission Issues for conversions, but everything else is working


Go to solution Solved by Q-Droid,

Recommended Posts

Posted

Hello, I am having permission denied issues, when attempting to transfer a conversion  to its final destination. I believe I have my permission settings correct. To test I changed primary pictures, which I keep  with media. I deleted an episode of a tv show through the UI and  I manually tried to copy the file to see if it would work. by running:

sudo  -u emby -  cp /var/lib/emby/sync/2/20/7f76125c-a54c-435b-9e96-34a891b668f2.mkv /mnt/media/Movies/Movielocation

That also  seems to work. So I think emby has access to my files. Any tips on how I can correct this?

 

embyserver (1).txt

Posted

Hi, have you taken a look at this?

 

Posted (edited)
23 hours ago, Luke said:

Hi, have you taken a look at this?

 

I have yes. my media is mounted as a cifs mount with user rw permissions. Emby can write to my media files in other functions such as replacing metadata and deleting media. So far from what I can tell only conversions are failing. 

As a test I  changed permissions on the file to 777 and on the folder with the same result. 

Edited by easez88
Posted

Have you checked the ownership and permissions of directory and file(s) for the specific movie that's failing? 

Also, LibraryMonitor (RTM) is reporting missing paths at the top of the log (server startup?). Does the storage spin down or sleep?

 

  • Like 1
  • 2 weeks later...
Posted
On 10/30/2024 at 5:55 PM, Q-Droid said:

Have you checked the ownership and permissions of directory and file(s) for the specific movie that's failing? 

Also, LibraryMonitor (RTM) is reporting missing paths at the top of the log (server startup?). Does the storage spin down or sleep?

 

I think the paths are mounting a bit slower than emby loads. I can look into that, However, you see shortly after the paths are fully mounted the error is permission denied. I just don't understand why. I've confirmed emby user has write permission to the folder with other test. 

Posted

Additionally, I logged in as the emby user using 'su emby' and was able to copy the file as well. 

  • Solution
Posted

You could try the nobrl option for your CIFS mounts. It doesn't hurt anything and it might fix your problem.

 

 

 

  • Like 1
  • 2 weeks later...
Posted

@LukeYup this was the issue. Adding nobrl to my mounting fixed it. conversions are now successfully moved. . @Q-DroidThank you  so much!

  • Like 2
  • Thanks 1

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...