nextcloud / nextcloud/nextcloud-docker-dev

SMB ACLs

Open
#303 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

documentation
Dominant language
PHP
Stars
190
Forks
103
Avg merge
4h 36m
Merged PRs (30d)
1

Description

Notes for testing SMB with ACL with https://github.com/juliushaertl/nextcloud-docker-dev/blob/master/docker-compose.yml#L683-L699

 vi /etc/samba/smb.conf

 [public]
   path = /smbmount
   browsable = yes
   read only = no
   guest ok = yes
   inherit acls = yes

smbcontrol all reload-config

apk add acl

mkdir allowed
mkdir notallowed
mkdir zallowed
setfacl -R -m other:--- /smbmount/notallowed/
touch /smbmount/notallowed/foo
touch /smbmount/notallowed/foo1
touch /smbmount/notallowed/foo12
touch /smbmount/notallowed/foo123
setfacl -m other:--- /smbmount/notallowed/
setfacl -R -m other:rwx /smbmount/notallowed/
setfacl -m other:--- /smbmount/notallowed/
setfacl -m other:rwx /smbmount/notallowed/
getfacl /smbmount/notallowed/
getfacl /smbmount/notallowed/foo
smbcacls //192.168.178.10/test path -U user%password

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting docker-compose.yml around lines 683-699 to understand the SMB setup. Run through the listed smb.conf, ACL, and smbcacls commands in that environment, then clarify the expected behavior and documentation scope. Done is not currently defined by the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker-compose, shell
Domain
devops, security
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.