Jump to content
Marshalleq

Default docker permissions should be....?

8 posts in this topic Last Reply

Recommended Posts

Dear all, I hope you can help me first with a simple question, then assuming the answer is as I expect, an idea of where to begin to resolve.

 

 

Are the default docker permissions (i.e. appdata folder) meant to be root.root or nobody.users?

 

Mine seem to now be defaulting to root.root and this means the docker doesn't start, in fact it doesn't even create the docker config properly.  So I chown them into submission, but still when the docker starts and it needs to create other things in there - same problem and this is a challenge.

 

However, one app is complaining about a folder that IS set to nobody.users so I'm left wondering if my assumption is wrong.

 

I've also wondered if it's the docker template i.e. can a template be set with wrong permissions by the creator?  I'm about to check another one to see if they're all being created this way or just one.

 

Thankyou for any help.

 

Marshalleq

 

Edited by Marshalleq

Share this post


Link to post

I would just remove all dockers and also remove images then delete docker image. Let new docker image be created then just goto apps>previous apps and reinstall all apps.

Share this post


Link to post

Thanks all, yes I've deleted a few times.  It comes back root.root.  I've just tested a few times with a) a previously uninstalled app that has UID and GID set in the docker template.  That came out as nobody.users.  I then tested with another one I've never installed that does not have UID and GID set in the template, that also came with nobody.users installed.  Then I tested with this latest app (Tdarr) from scratch (deleted folder) and that installed root.root.  I'll try delete image too now just to be sure, but I think I tried this before.  If someone wants to be super helpful and install Tdarr and tell me what permissions it comes up with that should confirm it's either an app template issue or it's an issue specific to me.

 

Many thanks for the quick responses all.

 

Marshalleq

Share this post


Link to post

No need - deleting the container AND the image seems to have resolved.  Many thanks all.  Will see how it goes!

Share this post


Link to post

You could also try the built in unRAID Tools>Docker Safe New Perms or after remove all dockers and before reinstalling try Tools>New Permissions.

Share this post


Link to post

So I spoke to soon.  The root docker of the folder is correct, but inside that it has assigned permissions to one of the unraid users.  I have also been seeing this behaviour lately and I don't know why.

Share this post


Link to post

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.