mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-07 05:27:13 -06:00
fix: samba perms unfucked
This commit is contained in:
parent
d788440daa
commit
ecbbebfd90
3 changed files with 31 additions and 6 deletions
|
|
@ -6,6 +6,7 @@ let
|
|||
inherit (flake.config.services) instances;
|
||||
inherit (flake.config.people) user0;
|
||||
service = instances.samba;
|
||||
jellyfin = instances.jellyfin;
|
||||
in
|
||||
{
|
||||
# If you ever need to start fresh, you need to add yourself to the Samba users database:
|
||||
|
|
@ -23,8 +24,8 @@ in
|
|||
"guest ok" = "no";
|
||||
"create mask" = "0664";
|
||||
"directory mask" = "0775";
|
||||
"force user" = user0;
|
||||
"force group" = "users";
|
||||
"force user" = jellyfin.name;
|
||||
"force group" = jellyfin.name;
|
||||
"force create mode" = "0664";
|
||||
"force directory mode" = "0775";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue