mirror of
https://github.com/ninxsoft/Mist.git
synced 2025-05-14 07:04:51 -04:00
Fix staff > wheel group ownership
This commit is contained in:
parent
7d0428701d
commit
ca1af45d7d
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -48,7 +48,7 @@ struct HelperToolCommandRunner {
|
|||
let attributes: [FileAttributeKey: Any] = [
|
||||
.posixPermissions: 0o755,
|
||||
.ownerAccountName: ownerAccountName,
|
||||
.groupOwnerAccountName: "staff"
|
||||
.groupOwnerAccountName: "wheel"
|
||||
]
|
||||
|
||||
do {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue