making an installer for an OS I don't own won't be easy. How to validate it ???
Allowing GUI interaction won't be easy either. My installer is a sh script embedded in a simple app bundle.
To fix permissions, plase follow what I indicate in the installation documentation. copy/paste:
- Authorizing Apache (www) to go through your Pictures folder
- Set WiPhA data directories so that Apache (www) can write in them (user logins, thumb cache)
- chmod 3777 data data/cache (777 + setgid + sticky)
- Set the setuid bit (with user right, not root!) on a small C program which will chmod o+r or o+x the required iPhoto Library files or directories. This has proved bo be needed for different iPhoto versions which remove these rights on every modification or file creation, whatever your umask is (I hate that).
For security reason, this program can't modify anything outside of your Pictures folder, and can only be run by you and Apache (www).
You'll probably need to delete the ipl symlink in the wipha folder and recreate it properly according to your iPhoto Library location.