[PR #2210] fix(macos): fix permission error 1200 (QFile) in installer #2704

Open
opened 2026-10-15 04:04:09 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/amnezia-client/pull/2210
Author: @desspperate
Created: 2/12/2026
Status: 🔄 Open

Base: dev ← Head: patch-1


📝 Commits (1)

  • bbef54c fix(macos): fix permission error 1200 (QFile) in installer

📊 Changes

1 file changed (+19 additions, -1 deletions)

View changed files

📝 deploy/build_macos.sh (+19 -1)

📄 Description

The macOS installer (.pkg) creates the /Library/Application Support/AmneziaVPN directory with root ownership. When the user runs the app, it fails to write config files, causing "ErrorCode 1200: QFile error".

This commit adds a chown command to the postinstall script in deploy/build_macos.sh to transfer ownership of this directory to the current console user.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/amnezia-vpn/amnezia-client/pull/2210 **Author:** [@desspperate](https://github.com/desspperate) **Created:** 2/12/2026 **Status:** 🔄 Open **Base:** `dev` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`bbef54c`](https://github.com/amnezia-vpn/amnezia-client/commit/bbef54cfea898951368db0b01f67df5db6150f78) fix(macos): fix permission error 1200 (QFile) in installer ### 📊 Changes **1 file changed** (+19 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `deploy/build_macos.sh` (+19 -1) </details> ### 📄 Description The macOS installer (.pkg) creates the `/Library/Application Support/AmneziaVPN` directory with root ownership. When the user runs the app, it fails to write config files, causing "ErrorCode 1200: QFile error". This commit adds a chown command to the postinstall script in `deploy/build_macos.sh` to transfer ownership of this directory to the current console user. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#2704
No description provided.