Ensure the appbundle has correct permissions so that pgAdmin can be accessed by users other than owner. #5613

This commit is contained in:
Yogesh Mahajan 2022-12-19 10:47:18 +05:30 committed by GitHub
parent cbea043ca1
commit 181ed62ec2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -304,6 +304,10 @@ _complete_bundle() {
# Remove the .pyc files if any
find "${BUNDLE_DIR}" -name "*.pyc" -print0 | xargs -0 rm -f
# Update permissions to make sure all users can access installed pgadmin.
chmod -R og=u "${BUNDLE_DIR}"
chmod -R og-w "${BUNDLE_DIR}"
}
_codesign_binaries() {