diff --git a/conf/shared-smb.conf b/conf/shared-smb.conf index 3c30c36..0eacfd8 100644 --- a/conf/shared-smb.conf +++ b/conf/shared-smb.conf @@ -1,5 +1,5 @@ [share] - comment = share (D) + comment = share read only = no path = /home/yunohost.app/samba/share guest ok = no diff --git a/conf/smb.conf b/conf/smb.conf index ce005b5..589a34b 100644 --- a/conf/smb.conf +++ b/conf/smb.conf @@ -1,3 +1,8 @@ +# ================================================= +# DO NOT EDIT THIS FILE +# EDIT SUBPARTS IN /etc/samba/smb.conf.d +# ================================================= + [global] log file = /var/log/samba/log.%m @@ -27,7 +32,7 @@ valid users = %S [share] - comment = share (D) + comment = share read only = no path = /home/yunohost.app/samba/share guest ok = no diff --git a/scripts/install b/scripts/install index 1d1557a..429b2c7 100755 --- a/scripts/install +++ b/scripts/install @@ -73,7 +73,7 @@ ynh_script_progression --message="Adding a configuration file..." --time --weigh mkdir -p /etc/samba/smb.conf.d ynh_add_config --template="global-smb.conf" --destination="/etc/samba/smb.conf.d/0-global.conf" -ynh_add_config --template="shared-smb.conf" --destination="/etc/samba/smb.conf.d/shared.conf" +ynh_add_config --template="shared-smb.conf" --destination="/etc/samba/smb.conf.d/share.conf" cat /etc/samba/smb.conf.d/*.conf > /etc/samba/smb.conf