From 066d7bc21781198984a12449371229baab45a82d Mon Sep 17 00:00:00 2001 From: Nico Verbruggen Date: Tue, 29 Mar 2022 14:14:39 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Restoring=20Homebrew=20permissio?= =?UTF-8?q?ns=20uses=20`admin`=20group=20now?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- phpmon/Common/Core/Actions.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/phpmon/Common/Core/Actions.swift b/phpmon/Common/Core/Actions.swift index 8d9f3fe..1586703 100644 --- a/phpmon/Common/Core/Actions.swift +++ b/phpmon/Common/Core/Actions.swift @@ -41,8 +41,8 @@ class Actions { "\(Paths.brew) services stop dnsmasq", ] var cellarCommands = [ - "chown -R \(Paths.whoami):staff \(Paths.cellarPath)/nginx", - "chown -R \(Paths.whoami):staff \(Paths.cellarPath)/dnsmasq" + "chown -R \(Paths.whoami):admin \(Paths.cellarPath)/nginx", + "chown -R \(Paths.whoami):admin \(Paths.cellarPath)/dnsmasq" ] PhpEnv.shared.availablePhpVersions.forEach { version in @@ -50,7 +50,7 @@ class Actions { ? "php" : "php@\(version)" servicesCommands.append("\(Paths.brew) services stop \(formula)") - cellarCommands.append("chown -R \(Paths.whoami):staff \(Paths.cellarPath)/\(formula)") + cellarCommands.append("chown -R \(Paths.whoami):admin \(Paths.cellarPath)/\(formula)") } let script =