summaryrefslogtreecommitdiffstats
path: root/krebs/3modules
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2017-07-22 23:01:39 +0200
committerlassulus <lassulus@lassul.us>2017-07-22 23:52:10 +0200
commit04dfdb5ec644cd3786a4e374304fefc275682ef2 (patch)
tree402927218b3bf8946f57d84458d4c76ce5f3aeb1 /krebs/3modules
parente9f318037c47fc3f588798da5b53b430c47860bd (diff)
krebs fetchWallpaper: allow everyone to enter dir
Diffstat (limited to 'krebs/3modules')
-rw-r--r--krebs/3modules/fetchWallpaper.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/krebs/3modules/fetchWallpaper.nix b/krebs/3modules/fetchWallpaper.nix
index e00c0ec9b..cdb9fe70a 100644
--- a/krebs/3modules/fetchWallpaper.nix
+++ b/krebs/3modules/fetchWallpaper.nix
@@ -49,6 +49,7 @@ let
set -euf
mkdir -p ${cfg.stateDir}
+ chmod o+rx ${cfg.stateDir}
cd ${cfg.stateDir}
(curl --max-time ${toString cfg.maxTime} -s -o wallpaper.tmp -z wallpaper ${shell.escape cfg.url} && mv wallpaper.tmp wallpaper) || :
feh --no-fehbg --bg-scale ${shell.escape cfg.stateDir}/wallpaper