Re: Editing a file by postinstall script
Re: Editing a file by postinstall script
- Subject: Re: Editing a file by postinstall script
- From: Greg Neagle <email@hidden>
- Date: Tue, 15 Jun 2010 12:03:53 -0700
That's a known issue with using the defaults command. Either save and
restore ownership/permissions, or use another tool like PlistBuddy to
edit the plist.
Sent from my iPhone
On Jun 15, 2010, at 11:44 AM, kushal ghosh <email@hidden> wrote:
Hi,
I am editing a plist file by the postinstall script by "defaults
write" command. The plist file also gets installed by the package.
The problem I am facing is after the installation is complete the
file does not have any permission for the group or others. Hence it
cannot be read even. But the file is properly edited which I could
know after giving the necessary permissions. Currently the work
around I am doing is creating a backup plist file, editing it and
copying it back to original one. Any suggestions on how to edit the
original plist file without disturbing its permissions?
Thanks
_______________________________________________
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
_______________________________________________
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