Editing a file by postinstall script
Editing a file by postinstall script
- Subject: Editing a file by postinstall script
- From: kushal ghosh <email@hidden>
- Date: Wed, 16 Jun 2010 00:14:05 +0530
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