about summary refs log tree commit diff
path: root/nix/hosts
diff options
context:
space:
mode:
authorEmile <git@emile.space>2024-06-12 12:50:05 +0200
committerEmile <git@emile.space>2024-06-12 12:50:05 +0200
commit56d78f4b66d76049901c553663e6c4eca25466bd (patch)
treed4f07372d09b5f0bdb41da95edd978b70b8099bb /nix/hosts
parentdb877b3dc8bd29c2bd18fcc8263713a0f09c2a25 (diff)
made permissions on the public samba share more open
Diffstat (limited to 'nix/hosts')
-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";
         };