4. The command to initiate the container
It's `sudo docker-compose -f docker-compose.yml up -d`
## The intention of the container:
The Dockerfile is intended to create a Samba servers that:
1. Only accessible from the IPs of `192.168.3.0/24`
2. Has a folder named `Public Resources` which is writable only to the user `MY_USERNAME` , but is readable publicly/anonymously.
3. Has a folder named `Temp Netdisk` which is readable & writable to everyone publicly(anonymously).
4. Has a folder named `MY_USERNAME` which is readable & writable to the user `MY_USERNAME` only. No access to everyone else.
## The problem
From an Windows 10 client, found:
1. can't delete files/folders under all 3 folders.
However, the following are fine:
1. the rights of reading are works as intended.
2. the rights of writing works, although the Windows will prompt `Error: 0x80070032: unsupported request` when creating a folder, but after refreshing, the folder will be there, and copying files to the folders are fine.
## What has been tried to fix the problem
1. After searching, found a post, https://github.com/dperson/samba/issues/364, is very close to the problem, so tried adding `-g` command but no luck.
What did I missed?
Hi everyone,
Setup
Ubuntu 20.04.5 LTS
(GNU/Linux 4.4.194+ aarch64)docker-compose.yml
, used to create the Docker container is:services: samba: image: dperson/samba:latest container_name: bcrk_samba environment: TZ: 'EST5EDT' SAMBA_HOSTS_ALLOW: '192.168.3.0/24' networks:
networks: default: