From 63553be81ea2a3799f9d872c8967facaeafea8c1 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 27 Aug 2023 12:50:25 +0300 Subject: [PATCH] Fix(setup-usrlocal): Fix `chown user:group` syntax `chown` started to issue warning for `user.group` syntax. --- playbooks/roles/setup-usrlocal/tasks/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/roles/setup-usrlocal/tasks/main.yaml b/playbooks/roles/setup-usrlocal/tasks/main.yaml index f20475f..2da9650 100644 --- a/playbooks/roles/setup-usrlocal/tasks/main.yaml +++ b/playbooks/roles/setup-usrlocal/tasks/main.yaml @@ -12,7 +12,7 @@ - name: Setup directories under /usr/local become: true - command: "find /usr/local -type d -exec chown root.{{ system_group }} {} + -exec chmod ug+rwx,o+rx,g+s {} +" + command: "find /usr/local -type d -exec chown root:{{ system_group }} {} + -exec chmod ug+rwx,o+rx,g+s {} +" - name: Setup files under /usr/local become: true -- 2.39.5