From e12e1391288cdca7cb61cd5f8e0b51d066e548af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Wed, 13 Sep 2023 09:00:28 +0300 Subject: [PATCH] samba: make file/dir masks a bit more restrictive --- modules/services/jakstpub/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/services/jakstpub/default.nix b/modules/services/jakstpub/default.nix index 9d777a2..274ee5a 100644 --- a/modules/services/jakstpub/default.nix +++ b/modules/services/jakstpub/default.nix @@ -34,8 +34,8 @@ public = "yes"; "guest ok" = "yes"; "read only" = "no"; - "create mask" = "0666"; - "directory mask" = "0777"; + "create mask" = "0664"; + "directory mask" = "0775"; "force user" = "jakstpub"; "force group" = "jakstpub"; };