Permissions are driving me crazy!
Permissions are driving me crazy!
- Subject: Permissions are driving me crazy!
- From: Edward Spiegel <email@hidden>
- Date: Sat, 15 Mar 2014 11:59:50 -0700
HI all,
I am a Packages newbie. In the past, we used FileStorm for our installers (which are quite simple) but are switching to Packages so that we can have GateKeeper-compatible installers.
My installer installs a folder "MyApp Folder" into /Applications. The folder contains the app and a couple of folders of resources. The source files and folders all have permissions set so that myuser (the same as the user building the installer is the owner) has read/write permissions, admin group has read/write permissions and everyone has read-only.
With FileStorm, an installer like this would end up creating a folder and contents that had the same permissions as the source files/folders with the owner being whoever ran the installer.
If I build the installer with require admin permissions off, the install fails (presumably because a non-admin user doesn't have permission to create a folder in /Applications).
If I build the installer with require admin permissions on, if a non-admin user runs the installer there are two problems:
1) the resulting files/folders don't have read/write permission for the person that installed the software
2) Admin group does not have permissions. So, not even an Admin user has read/write permission for the contents.
Note that in Packages, I set the group to admin with all permissions on for the payload. So, I have no idea why Admin group is being stripped.
The solution may be obvious to people with more experience. I have tried every combination of settings with no luck building an installer that will work for a non-admin user.
Any help would be much appreciated. Just need to know how to start with a source folder and contents that have the owner with read/write, admin group read/write and everyone read and end up with installed files/folders that have the same permissions.
Thank you for your help,
Edward
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden