The samba data_dir has the permission samba:samba.
Users cant access the contents of that folder cause there not part of the user group.
The result is the error:
when trying to acces the share
Context
Hardware: VM / x64 Debian
Yunohost 11.2.10.3 (stable)
samba app 4.13.13~ynh2
Steps to reproduce
install the samba app
access the share smbclient -U test_smb //yunohost.local/share
then run ls or try to access a file on the share
log:
Password for [WORKGROUP\test_smb]:
Try "help" to get a list of possible commands.
smb: \> ls
NT_STATUS_ACCESS_DENIED listing \*
smb: \>
Expected behavior
Access to the share folder.
Fix
give the samba.main group access to the data_dir with ACL
Describe the bug
The samba data_dir has the permission samba:samba. Users cant access the contents of that folder cause there not part of the user group. The result is the error: when trying to acces the share
Context
Steps to reproduce
smbclient -U test_smb //yunohost.local/share
ls
or try to access a file on the shareExpected behavior
Access to the share folder.
Fix