DanielPT Posted November 6, 2022 Share Posted November 6, 2022 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 Quote Link to comment
wgstarks Posted November 6, 2022 Share Posted November 6, 2022 Running Docker Safe New Perms from the tools tab should correct any owner problems. 1 Quote Link to comment
DanielPT Posted November 7, 2022 Author Share Posted November 7, 2022 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? Quote Link to comment
ChatNoir Posted November 7, 2022 Share Posted November 7, 2022 2 hours ago, DanielPT said: Change the owner to "root" Change the owner to nobody as it should be. 1 Quote Link to comment
DanielPT Posted November 7, 2022 Author Share Posted November 7, 2022 Ahh okay cool! Thanks! Quote Link to comment
wgstarks Posted November 7, 2022 Share Posted November 7, 2022 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. 1 Quote Link to comment
DanielPT Posted November 7, 2022 Author Share Posted November 7, 2022 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 ? Quote Link to comment
wgstarks Posted November 7, 2022 Share Posted November 7, 2022 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. Quote Link to comment
wgstarks Posted November 7, 2022 Share Posted November 7, 2022 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. 1 Quote Link to comment
DanielPT Posted November 8, 2022 Author Share Posted November 8, 2022 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! Quote Link to comment
wgstarks Posted November 8, 2022 Share Posted November 8, 2022 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. 1 Quote Link to comment
Frank1940 Posted November 8, 2022 Share Posted November 8, 2022 (edited) @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, 2022 by Frank1940 1 Quote Link to comment
DanielPT Posted November 9, 2022 Author Share Posted November 9, 2022 Thanks guys! I just changed the owner to nobody and all is good Quote Link to comment
Recommended Posts
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.