Jump to content
Sign in to follow this  
BelgarionNL

How to edit config files in appdata folder? (I can delete and then copy back...)

9 posts in this topic Last Reply

Recommended Posts

Hi I couldn't find an answer to this question anywhere so please either point me to the right direction or perhaps help me out with this issue.

 

I would sometimes like to edit the config files from different dockers directly instead of going through the UI of the docker in question. 

However I cannot seem to edit these config files directly because it wont allow me to save. What is weird is that I can move the config files to my pc and delete them in the appdata folder.

This way I can at least still edit them on my pc and then copy them back in the appdata folder.. 

Obviously I would like to just be able to modify them directly.

 

I would really appreciate some help. I tried many things including using unraid to fix docker permission.

Share this post


Link to post

Firstly never use new permissions on appdata, it breaks stuff.

 

It's a permissions problem.  But you don't say what containers you're using nor which operating system.

Share this post


Link to post

hi sorry I want to edit the home assistant configs (unraid home assistant docker)  but it applies to all dockers I have.

 

nzbget, transmission etc.

 

stopping docker wont resolve this issue.

 

so its a general Unraid permission issue related to the appdata folder. (as far as I can see)

Edited by BelgarionNL

Share this post


Link to post

The config file editor (or nano / vim) should be able to edit any file within appdata, so long as its not read-only.

 

Not being able to modify over the network isn't particularly surprising as most applications have their own unique permission requirements within appdata that may or may not be compatible with the permissions that unRaid uses with respect to network access.

Share this post


Link to post

well shit. pardon my french. but that will not work for me because I have to extensively change the configs. so using an browser editor etc wont work.

 

I will try to edit through scp or ftp with ATOM and see if that works.

Share this post


Link to post
49 minutes ago, BelgarionNL said:

so its a general Unraid permission issue related to the appdata folder. (as far as I can see)

 

No, it's Linux permissions, and it's heavily dependent on which containers you use.  Unraid by default uses the user nobody in group users.  Not all containers will have their file permissions as nobody:users

 

Then throw into the mix issues with permissions over smb or nfs and it's no wonder you struggle.

 

Running new permissions will change all the file permissions in your appdata to nobody:users but the side effect of this is that this may break the container which is expecting a completely different set of file permissions.

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.

Sign in to follow this