From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 45/54] samba: Change share template to something more safe Date: Tue, 13 Oct 2020 16:08:03 +0000 Message-ID: <20201013160812.27754-45-michael.tremer@ipfire.org> In-Reply-To: <20201013160812.27754-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1037434970127661885==" List-Id: --===============1037434970127661885== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Signed-off-by: Michael Tremer --- html/cgi-bin/samba.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/cgi-bin/samba.cgi b/html/cgi-bin/samba.cgi index e58d82004..0ea3cc789 100644 --- a/html/cgi-bin/samba.cgi +++ b/html/cgi-bin/samba.cgi @@ -43,7 +43,7 @@ my @userline =3D (); my $userfile =3D "${General::swroot}/samba/private/smbpasswd"; my %selected=3D () ; =20 -my $defaultoption=3D "[Share]\npath =3D /var/ipfire/samba/share1\ncomment = =3D Share - Public Access\nbrowseable =3D yes\nwriteable =3D yes\ncreate mask= =3D 0777\ndirectory mask =3D 0777\npublic =3D yes\nforce user =3D samba"; +my $defaultoption=3D "[My Share]\npath =3D \ncomment =3D Share - Public Acce= ss\nbrowseable =3D yes\nwriteable =3D yes\ncreate mask =3D 0644\ndirectory ma= sk =3D 0755\npublic =3D yes\nforce user =3D samba"; my %shares =3D (); =20 &General::readhash("${General::swroot}/ethernet/settings", \%netsettings); --=20 2.20.1 --===============1037434970127661885==--