Skip to content

Commit

Permalink
Updating permissions for Mac patcher
Browse files Browse the repository at this point in the history
Removing ARCHIVE_EXTRACT_PERM, adding ARCHIVE_EXTRACT_OWNER, adding ARCHIVE_EXTRACT_XATTR
  • Loading branch information
colincornaby committed Jun 17, 2024
1 parent ab84e40 commit 6d45c88
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/Plasma/Apps/plClient/Mac-Cocoa/PLSPatcher.mm
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 6d45c88

Please sign in to comment.