Brammer

Members
  • Posts

    3
  • Joined

  • Last visited

Brammer's Achievements

Noob

Noob (1/14)

0

Reputation

  1. Thank you for your elaborate answer Frank! I'm going to make sure all docker containers that create files that can be accessed using samba create them with umask 000. And I will apply the suggested samba configuration. I'm pretty sure this isn't the correct solution from a security perspective, but that doesn't really matter in this case. I'm a dedicated Linux desktop and server user for more then 20 years, and a software developer. Working with permissions from these different perspectives (os, docker instances, smb server and client, nfs, web hosting and file servers... and especially those services combined on one server) can still throw me off. In this case the user rights are being managed automatically by the os, which makes it even less transparent. I'm taking the easy way out in this instance, since it's just my home server, and use the solutions you (and others) suggested. Thanks a bunch!
  2. Thanks all for the input! I'm wondering... which umask should a docker container use? I see a mix of 002 and 022 by default. Some suggest using 000. I'm not sure if this could influence the described behavior and which umask I should use (or never use).
  3. I'm having a weird permissions issue with my samba shares. I have my samba shares configured as private with read/write rights for my account. This is working fine. I can access the shares from my Fedora 37 laptop and Android 12 phone (using my credentials), create/delete/rename folders and do the same for files. Doesn't matter if I've put the there manually via smb or if they have been put there by transmission/radarr/sonarr/...ect. But I can't paste folders somehow... not on any of the shares. Not in the root of the share and not in sub directories. I can overwrite folders that have been created manually via smb. Example (assume the root can be the root of the share or a sub folder; makes no difference): 755 nobody users ./ 755 nobody users ../ 755 nobody users ./existing-folder 755 nobody users ./folder-created-from-docker-container 755 myusername users ./folder-created-via-smb Pasting a folder named "existing-folder" or "folder-created-from-docker-container" will result in a "Permission Denied" error. Pasting a folder named "non-existing-folder-in-share" will result in a "Permission Denied" error Pasting a folder named "folder-created-via-smb" will work as expected without any errors For example.. I've just added nginx as a docker container. Freshly installed I can paste all the files I want to the /mnt/user/appdata/nginx/www directory . But I'm getting a "Permission denied" for the folders I'm simultaneously pasting from my Fedora 37 laptop. I've tried to do the same from my Android 12 phone with the exact same result. I've been trying to figure out what's going wrong here for two days. I also did run the Tools -> New Permissions script without it making a difference. Hopefully someone here can help me figuring this out? Edit: I've just figured out that I can create folder, but I also can't paste folders into the folders I've created manually. OS: Unraid 6.11.0 Client: Fedora 37