about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--nix/hosts/lampadas/configuration.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/nix/hosts/lampadas/configuration.nix b/nix/hosts/lampadas/configuration.nix
index 2130794..64e053c 100644
--- a/nix/hosts/lampadas/configuration.nix
+++ b/nix/hosts/lampadas/configuration.nix
@@ -161,8 +161,11 @@ in {
           "guest ok" = "yes";
           "guest only" = "yes";
           "available" = "yes";
-          "create mask" = "0644";
-          "directory mask" = "0755";
+          "create mask" = "2775";
+          "directory mask" = "2775";
+          "force create mask" = "2775";
+          "force directory mask" = "2775";
+          "force user" = "samba-guest";
           "comment" = "public data";
           "writable" = "yes";
         };