From 176a9cf9803ec577fa289ebeb593eb5ed6d578ed Mon Sep 17 00:00:00 2001 From: Tube <7u83@mail.ru> Date: Sun, 22 Oct 2023 23:22:23 +0200 Subject: [PATCH] changes owner --- roundcube.cf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roundcube.cf b/roundcube.cf index bb10881..0e369f3 100644 --- a/roundcube.cf +++ b/roundcube.cf @@ -58,8 +58,9 @@ methods: commands: roundcube_untar:: "/usr/bin/tar" - args => "xzvf $(dlfile) -C $(cfg[install_dir])", + args => "xzf $(dlfile) -C $(cfg[install_dir]) && chown -R $(cfg[www_user]):$(cfg[www_group]) $(cfg[install_dir])", depends_on => {"roundcube_tgz_copied"}, + contain => wmde_cmd_useshell, handle => "roundcube_untarred"; !roundcube_untar:: "/usr/bin/true"