]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - html/cgi-bin/samba.cgi
samba: Change share template to something more safe
[people/pmueller/ipfire-2.x.git] / html / cgi-bin / samba.cgi
index f46ab7ee39ee7e762042389da81a6e733cd63054..0ea3cc789c5655eccf0633a85355833894380316 100644 (file)
@@ -43,7 +43,7 @@ my @userline = ();
 my $userfile = "${General::swroot}/samba/private/smbpasswd";
 my %selected= () ;
 
-my $defaultoption= "[Share]\npath = /var/ipfire/samba/share1\ncomment = Share - Public Access\nbrowseable = yes\nwriteable = yes\ncreate mask = 0777\ndirectory mask = 0777\npublic = yes\nforce user = samba";
+my $defaultoption= "[My Share]\npath = \ncomment = Share - Public Access\nbrowseable = yes\nwriteable = yes\ncreate mask = 0644\ndirectory mask = 0755\npublic = yes\nforce user = samba";
 my %shares = ();
 
 &General::readhash("${General::swroot}/ethernet/settings", \%netsettings);
@@ -146,7 +146,7 @@ winbind use default domain = yes
 logging = syslog
 
 # Enable support for Apple
-vfs objects = catia fruit streams_xattr
+vfs objects = catia fruit streams_xattr recycle
 
 # Enable following symlinks
 wide links = yes