November 6, 20223 yr Hi all I followed spaceinvaders guide for making the media folders on unraid server. But now i can see that all my folders have a owner "daniel" I think it is becurse i signed in via SMB on my pc (with daniel) and made all the folders. I was just thinking if i removed the user "daniel" then they will not have the correct owner. So is this just fine or do i need to change it? Thanks
November 6, 20223 yr Running Docker Safe New Perms from the tools tab should correct any owner problems.
November 7, 20223 yr Author 16 hours ago, wgstarks said: Running Docker Safe New Perms from the tools tab should correct any owner problems. Okay but what do you think it will do? Change the owner to "root" or?
November 7, 20223 yr 2 hours ago, DanielPT said: Change the owner to "root" Change the owner to nobody as it should be.
November 7, 20223 yr From the docker safe new permissions info- Quote This utility will restore standard unRaid permissions to all shares and files without touching any of the APPDATA shares for docker applications. (Many times, a docker application has specific requirements for its ownership / permissions on the files contained within its appdata, and the standard New Permissions tool will change these, possibly rendering the docker application inoperable.) 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.
November 7, 20223 yr Author 1 minute ago, wgstarks said: From the docker safe new permissions info- So this tool is for the dockers not the shares i made? Is it not safer to just change the owner to nobody ?
November 7, 20223 yr 2 minutes ago, DanielPT said: So this tool is for the dockers not the shares i made? Is it not safer to just change the owner to nobody ? That’s pretty much backwards. It will correct all shares but leave docker appdata folders alone. You can change each file one-at-a-time if you prefer. This tool just makes it a little easier.
November 7, 20223 yr If you only have one or a few files to change you can also use the Dynamix File Manager plugin to change the owner. It’s a really handy file browser/editor.
November 8, 20223 yr Author 18 hours ago, wgstarks said: If you only have one or a few files to change you can also use the Dynamix File Manager plugin to change the owner. It’s a really handy file browser/editor. I only have a few folders But what cut happen if i change the owner to nobody? Thanks!
November 8, 20223 yr 4 hours ago, DanielPT said: I only have a few folders But what cut happen if i change the owner to nobody? Thanks! I’ve never had any issues with that. All my files have that owner set. Of course that’s not a guarantee. You can easily change it back though with the Dynamix File Manager plugin you can set it to whatever you want.
November 8, 20223 yr Community Expert @DanielPT, I believe what the problem may be is the the Group is not set to users I have just verified what @wgstarks stated. In fact, even if the owner is another user, a second user can modify files if they are given permission to do so. As an example, I just deleted a file owned by smbuser while logged in as user where the permissions were set as follows: In this case, the actual user would not be able to delete the file! What I think happens behind the scenes is that all Share Users are members of the users Group. Thus they have the same privileges as the owner if the permissions are set to the defaults of 777 for directories and 666 for files. As a point of information, either permission script will change the Owner to nobody and the Group to users and the permissions to 777 or 666. EDIT: Please note the permissions. I understand that some Dockers do not set up the permissions correctly for the Group. If they don't, you will have a problem with Unraid behavior eventually. Edited November 8, 20223 yr by Frank1940
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.