From 3136d02127548bbdcfbc567ee50b04b427964142 Mon Sep 17 00:00:00 2001 From: ibizaman Date: Wed, 28 Sep 2022 23:33:22 -0700 Subject: [PATCH] tighten permissions a bit for ttrss tmpfiles --- ttrss/environment.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ttrss/environment.nix b/ttrss/environment.nix index c4c1bde..008aa8e 100644 --- a/ttrss/environment.nix +++ b/ttrss/environment.nix @@ -20,13 +20,13 @@ rec { ]; directories_modes = { - "${systemd_run}" = "0555"; - "${lock_directory}" = "0755"; - "${cache_directory}" = "0755"; - "${cache_directory}/upload" = "0755"; - "${cache_directory}/images" = "0755"; - "${cache_directory}/export" = "0755"; - "${persistent_dir}/feed-icons" = "0755"; + "${systemd_run}" = "0550"; + "${lock_directory}" = "0770"; + "${cache_directory}" = "0770"; + "${cache_directory}/upload" = "0770"; + "${cache_directory}/images" = "0770"; + "${cache_directory}/export" = "0770"; + "${persistent_dir}/feed-icons" = "0770"; }; postgresql = {