samba: fixup
This commit is contained in:
parent
d67ea4585c
commit
42113468aa
1 changed files with 5 additions and 5 deletions
|
@ -5,7 +5,6 @@ let
|
||||||
sharePath = "/mnt/storage/share";
|
sharePath = "/mnt/storage/share";
|
||||||
ipv6 = "fd42:dead:beef::/48";
|
ipv6 = "fd42:dead:beef::/48";
|
||||||
ipv4 = "192.168.42.0/24";
|
ipv4 = "192.168.42.0/24";
|
||||||
allow = "192.168.42. fd42:dead:beef::";
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.dadada.fileShare = {
|
options.dadada.fileShare = {
|
||||||
|
@ -29,10 +28,11 @@ in
|
||||||
browseable = "yes";
|
browseable = "yes";
|
||||||
"read only" = "yes";
|
"read only" = "yes";
|
||||||
"guest ok" = "yes";
|
"guest ok" = "yes";
|
||||||
"create mask" = "0644";
|
"guest only" = "yes";
|
||||||
"directory mask" = "0755";
|
"create mask" = "0660";
|
||||||
"force user" = "username";
|
"directory mask" = "2770";
|
||||||
"force group" = "groupname";
|
"force user" = "nobody";
|
||||||
|
"force group" = "nobody";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue