From 6d45c88bbde7d01129b42711b67def1053c9bb05 Mon Sep 17 00:00:00 2001 From: Colin Cornaby Date: Sun, 17 Mar 2024 21:21:17 -0700 Subject: [PATCH] Updating permissions for Mac patcher Removing ARCHIVE_EXTRACT_PERM, adding ARCHIVE_EXTRACT_OWNER, adding ARCHIVE_EXTRACT_XATTR --- Sources/Plasma/Apps/plClient/Mac-Cocoa/PLSPatcher.mm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sources/Plasma/Apps/plClient/Mac-Cocoa/PLSPatcher.mm b/Sources/Plasma/Apps/plClient/Mac-Cocoa/PLSPatcher.mm index d3cb0bf87f..c88cbc1e6d 100644 --- a/Sources/Plasma/Apps/plClient/Mac-Cocoa/PLSPatcher.mm +++ b/Sources/Plasma/Apps/plClient/Mac-Cocoa/PLSPatcher.mm @@ -232,9 +232,10 @@ static la_ssize_t copy_data(struct archive *ar, struct archive *aw) /* Select which attributes we want to restore. */ flags = ARCHIVE_EXTRACT_TIME; - flags |= ARCHIVE_EXTRACT_PERM; flags |= ARCHIVE_EXTRACT_ACL; flags |= ARCHIVE_EXTRACT_FFLAGS; + flags |= ARCHIVE_EXTRACT_OWNER; + flags |= ARCHIVE_EXTRACT_XATTR; struct archive *a = archive_read_new(); struct archive *ext = archive_write_disk_new();