Re: packagemaker newbie - permissions issue
Re: packagemaker newbie - permissions issue
- Subject: Re: packagemaker newbie - permissions issue
- From: Peter Lee <email@hidden>
- Date: Wed, 24 Jun 2009 09:34:11 +1000
Thanks for the info!
As a Mac OS X systems administrator, I find software that modifies
files inside its own application bundles evil, and would encourage you
to rethink that design decision. It makes it extremely difficult to
store out malicious modifications from benign modifications.
We're really not wanting to modify files inside the bundle... but we are
deploying an embedded database server (Firebird) inside the bundle, that
needs read / write access to it's security database when it runs.
Security actually isn't used for the embedded version... but regardless
- it needs the access! I guess it might be possible to put the database
files in /Library/Application Support/Rising Software as well?
I'd also urge you to consider making the file in /Library/Application
Support/Rising Software read-only, and copying it to
~/Library/Application Support/Rising Software, where you can modify it
in the user's home dir, but this is a matter of preference as long as
the software can run with the /Library/Application Support/Rising
Software file missing or damaged by the user.
The file in /Library/Application Support/Rising Software needs to be
shared amongst all users - it's a shared database of settings, scores etc.
If _anybody_ who runs the software must have read/write access to
these files, you must set the mode to 666 if they are actually files,
and 777 if they are directories. You _cannot_ rely on all users being
in any specific group.
Ahh... ok... thanks for this. Just looking in Packagemaker - how does
one achieve this? Is it something best done with a post install script?
Thanks,
Peter Lee
--
Peter Lee email@hidden
-----------------------------------------------------------------------
Rising Software Australia Pty. Ltd. http://www.risingsoftware.com/
Publishers of 'Auralia' - Ear Training and 'Musition' - Theory Training
Ph: +61 3 9481 3320 FAX: +61 3 9481 3380 USA Freecall: 1 888 667 7839
_______________________________________________
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