YunoHost-Apps / samba_ynh

Samba package for YunoHost
GNU Affero General Public License v3.0
1 stars 6 forks source link

samba data_dir permission prevent access to share #21

Open Hemi03 opened 5 months ago

Hemi03 commented 5 months ago

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

  1. install the samba app
  2. access the share smbclient -U test_smb //yunohost.local/share
  3. then run ls or try to access a file on the share
  4. 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