Fix staff > wheel group ownership

This commit is contained in:
Nindi Gill 2022-12-25 16:05:21 +11:00
parent 7d0428701d
commit ca1af45d7d
No known key found for this signature in database
GPG key ID: FF9A7FD590D4F4B1
3 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>BuildHash</key>
<string>977665398f7c4fc4f84fda51c877a98d25ab4a8ed94c7c532dc7070c8e1c845d</string>
<string>a9b37eeef3f02041cf0206471219c999c03928fa8d1f3c83475e74e8fec8e196</string>
<key>CFBundleIdentifier</key>
<string>com.ninxsoft.mist.helper</string>
<key>CFBundleInfoDictionaryVersion</key>

View file

@ -48,7 +48,7 @@ struct HelperToolCommandRunner {
let attributes: [FileAttributeKey: Any] = [
.posixPermissions: 0o755,
.ownerAccountName: ownerAccountName,
.groupOwnerAccountName: "staff"
.groupOwnerAccountName: "wheel"
]
do {