From ca1af45d7d633d3ed49223f02c7a80a85b12d68f Mon Sep 17 00:00:00 2001 From: Nindi Gill Date: Sun, 25 Dec 2022 16:05:21 +1100 Subject: [PATCH] Fix staff > wheel group ownership --- Mist/Views/List/ListRow.swift | 2 +- MistHelperTool/Info.plist | 2 +- MistHelperTool/main.swift | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Mist/Views/List/ListRow.swift b/Mist/Views/List/ListRow.swift index 95be71a..c045a7c 100644 --- a/Mist/Views/List/ListRow.swift +++ b/Mist/Views/List/ListRow.swift @@ -138,7 +138,7 @@ struct ListRow: View { let ownerAccountName: String = attributes[.ownerAccountName] as? String, ownerAccountName == NSUserName(), let groupOwnerAccountName: String = attributes[.groupOwnerAccountName] as? String, - groupOwnerAccountName == "staff" else { + groupOwnerAccountName == "wheel" else { alertType = .cacheDirectory showAlert = true return diff --git a/MistHelperTool/Info.plist b/MistHelperTool/Info.plist index 8101c66..ffc63db 100644 --- a/MistHelperTool/Info.plist +++ b/MistHelperTool/Info.plist @@ -3,7 +3,7 @@ BuildHash - 977665398f7c4fc4f84fda51c877a98d25ab4a8ed94c7c532dc7070c8e1c845d + a9b37eeef3f02041cf0206471219c999c03928fa8d1f3c83475e74e8fec8e196 CFBundleIdentifier com.ninxsoft.mist.helper CFBundleInfoDictionaryVersion diff --git a/MistHelperTool/main.swift b/MistHelperTool/main.swift index 5edbc7a..4a899ef 100644 --- a/MistHelperTool/main.swift +++ b/MistHelperTool/main.swift @@ -48,7 +48,7 @@ struct HelperToolCommandRunner { let attributes: [FileAttributeKey: Any] = [ .posixPermissions: 0o755, .ownerAccountName: ownerAccountName, - .groupOwnerAccountName: "staff" + .groupOwnerAccountName: "wheel" ] do {