From 197938971d3d7db631c4d59f5325f597d4fb834f Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 4 Apr 2023 14:34:23 +0100 Subject: [PATCH] Allow job runners on dev to write to the activestorage directory --- cookbooks/dev/recipes/default.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cookbooks/dev/recipes/default.rb b/cookbooks/dev/recipes/default.rb index 4874dc66a..3c02066db 100644 --- a/cookbooks/dev/recipes/default.rb +++ b/cookbooks/dev/recipes/default.rb @@ -298,7 +298,10 @@ if node[:postgresql][:clusters][:"15/main"] sandbox :enable_network => true restrict_address_families "AF_UNIX" memory_deny_write_execute false - read_write_paths "/srv/%i.apis.dev.openstreetmap.org/logs" + read_write_paths [ + "/srv/%i.apis.dev.openstreetmap.org/logs", + "/srv/%i.apis.dev.openstreetmap.org/storage" + ] end systemd_service "cgimap@" do -- 2.39.5