Forum Moderators: coopster
Any suggestions? I'm sure this has been done before but I can't find any tips.
I've thought of having a shell script that would be part of the package and then run through exec(), but I don't think that would work either as it wouldn't have the correct permissions to do what needs to be done. Although I think Menalto Gallery does something like this - maybe I should look at how they handle it.
The biggest issue is one folder that is empty as it sits in the package. Everything in that folder is uploaded by the user after the package is installed. Maybe my best bet is to create that folder as part of the installation script using mkdir() and then I should have the correct permissions to make it writable.
The other two permissions I ran in to were both file permissions of the upload, so maybe that should be taken care of through FTP by the user, dunno.
I've had a couple experiences like that myself :)
eelix