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:
parent
15b45aebc5
commit
07f0ee994d
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue