UNRAID mess with file permissions


Recommended Posts

I have a user (storage) with read and write access to all my shares

 

this is my samba configuration

imagen.thumb.png.5c07a1557e12fc139d3a3b972059ac05.png

 

So in reallity I have read permisions to all shares but for writting persmisions I can only edit in some folders of some shares. The only clue I have is that those folders are old, they have existed almost since I started with unraid many years ago, by in recently created folders I don't have write permissions.

 

For example here I can not edit the folders in green, this folders are created by unraid.

imagen.thumb.png.e20940cabb0e99242826074a65a461c7.png

 

imagen.png.dd756737836706e1b48674379b08db8f.png

 

imagen.png.456b98ece97c9bf0959aa6f0e74e9b67.png

I am using the storage user via SMB, I can edit adguardhome.yaml, but I can not edit adguardhome.yaml.bak

 

Do you know what could be the issue?  why unraid started to write files and folders with different permisions?

How can I restore all the file permissions to the "standard"? what are the best practices in unraid?

Also before I was using Code Server docker to edit configuration files for other dockers, at some point I lost that permisions as well and code server docker can only read files but not edit.

 

imagen.thumb.png.23a9da27e36dd2ef4a4307f4ba70d570.png

 

imagen.png.6ff9aeb7ded18068533948026a3eb075.png

 

imagen.png.9ed6bba3cabc3e1135d356c46ef06c1e.png

 

 

 

Edited by L0rdRaiden
Link to comment

It is normal for any folder/file to not have permissions over the network if it is owned by ‘root’ as that user only has access to shares if they are set to be ‘public’.

 

looking at the folders you mentioned then it looks as if they are folders within the ‘appdata’ share used by docker containers?   If so then the permissions are set by the docker container and not by Unraid.

Link to comment

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.