From f58a2e62e3677a78d111ff6b4d3395a5eaa2bc99 Mon Sep 17 00:00:00 2001 From: Jonas Nick Date: Thu, 1 Aug 2019 12:43:23 +0000 Subject: [PATCH] Fix liquid data directory permission --- modules/liquid.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/liquid.nix b/modules/liquid.nix index 43aa4d6..aed5789 100644 --- a/modules/liquid.nix +++ b/modules/liquid.nix @@ -191,7 +191,7 @@ in { fi cp '${configFile}' '${cfg.dataDir}/liquid.conf' chmod o-rw '${cfg.dataDir}/liquid.conf' - chown '${cfg.user}:${cfg.group}' '${cfg.dataDir}' + chown -R '${cfg.user}:${cfg.group}' '${cfg.dataDir}' echo "rpcpassword=$(cat /secrets/liquid-rpcpassword)" >> '${cfg.dataDir}/liquid.conf' echo "mainchainrpcpassword=$(cat /secrets/bitcoin-rpcpassword)" >> '${cfg.dataDir}/liquid.conf' '';