fix: smb make shit executable
This commit is contained in:
parent
759eb7641d
commit
a24ab5a6a7
|
@ -72,6 +72,10 @@
|
|||
"server min protocol = SMB3_11"
|
||||
# Require native SMB transport encryption by default.
|
||||
"server smb encrypt = required"
|
||||
# Do not map the executable bit to anything
|
||||
"map archive = no"
|
||||
"map system = no"
|
||||
"map hidden = no"
|
||||
|
||||
# Disable printer sharing. By default Samba shares printers configured
|
||||
# using CUPS.
|
||||
|
@ -94,7 +98,7 @@
|
|||
"#persistRoot" = persistRoot;
|
||||
"read only" = "no";
|
||||
"guest ok" = "no";
|
||||
"create mask" = "0640";
|
||||
"create mask" = "0740";
|
||||
"directory mask" = "0750";
|
||||
"force user" = "${user}";
|
||||
"force group" = "${group}";
|
||||
|
|
|
@ -82,6 +82,8 @@ in {
|
|||
++ [
|
||||
"uid=${toString uid}"
|
||||
"gid=${toString gid}"
|
||||
"file_mode=0600"
|
||||
"dir_mode=0700"
|
||||
"credentials=${cfg.credentials}"
|
||||
]
|
||||
++ (optional (!cfg.automatic) "noauto");
|
||||
|
|
Loading…
Reference in a new issue