Spyderturbo007 19 Posted August 7, 2020 Posted August 7, 2020 I read the Linux file permissions thread and it's way over my head. I'm having an issue with whatever Emby does to create the folder and files associated with the extrafanart folder for my movies. For example, if I drop a movie in a folder and allow Emby to add the artwork, I'm able to delete all the files except for the extrafanart folder and it files. When doing so, I get a "You require permission from Unix User\daemon to make changes to this file". All other Emby created files are able to be deleted. This is running on an unRAID server and they gave me a way to fix it, but pointed me in this direction to see what I have configured incorrectly inside Emby causing this issue. I have to run a tool called "Docker safe new perms" that has the following instructions. I'm not sure if this helps or not. You should use this tool in case a misconfigured docker application (notably CouchPotato or Sonarr / SickBeard) has written media files to your array with the wrong permissions, and you find yourself unable to modify / delete those files. This utility starts a background process that goes to each of your data disks and cache disk and changes file and directory ownership to nobody/users (i.e., uid/gid to 99/100), and sets permissions as follows: For directories: drwxrwxrwx For read/write files: -rw-rw-rw- For readonly files: -r--r--r--
Q-Droid 989 Posted August 7, 2020 Posted August 7, 2020 The important thing is to make sure you get to pick which shares or paths get modified by the tool. If you can limit the changes to the media shares you want to access then it should be fine. It looks like the tool has been used with unRAID for some time now so plenty of support if you need it. It won't be a one time thing. You'll find yourself having to run this tool often, at least each time you want to make changes to your libraries outside of Emby ("drop in", delete). That might be the incentive you need to learn how user/group ownership and permissions work in Linux.
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