1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/samba_ynh.git synced 2024-09-03 20:16:27 +02:00

fix samba.share

This commit is contained in:
yalh76 2022-07-15 03:44:34 +02:00
parent 15b45aebc5
commit 07f0ee994d
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@
path = /home/yunohost.app/samba/share
guest ok = no
browsable = yes
valid users = @samba.share
valid users = @sambashare
create mask = 0660
directory mask = 770
vfs objects = dfs_samba4 acl_xattr recycle

View file

@ -71,7 +71,7 @@ mkdir -p $datadir/share
chmod 750 "$datadir/share"
chmod -R o-rwx "$datadir/share"
chown -R root:root "$datadir/share"
setfacl -R -m g:samba.share:rwx,d:g:samba.share:rwx $datadir/share
setfacl -R -m g:sambashare:rwx,d:g:sambashare:rwx $datadir/share
#=================================================
# ADD A CONFIGURATION