Upgrade Script [message #169] |
Wed, 23 January 2002 01:09 |
Ilia
Messages: 13241 Registered: January 2002
Karma:
|
Senior Member Administrator Core Developer |
|
|
I am just about done with the upgrade script, which will allow you to upgrade from 1.0 to 1.0.1. There is however 1 issue, that I would like to hear your input on.
The people who have used the shell script installation, will not have the permission that would allow the upgrade script to modify certain files.
I have 3 alternate solutions to this and I want to know, which you think is the best:
1) The upgrade script will output a small shell script that will temporarily alter the permissions of the files to allow webserver to write to them. Once the upgrade script is done, it will output another small shell script that will restore the permissions back.
2) The install script will ask for login/password for the user's account and use FTP to chmod a file a time, upgrade it and then chmod it back.
3) The install script could be run from the shell using the php-cgi binary and would upgrade the file without doing any permission work. Most system already include php-cgi binary, you can also download one from the web or install php-cgi into your home directory.
What do you think?
To test if you have php-cgi,
php -v
On your shell account.
FUDforum Core Developer
[Updated on: Wed, 23 January 2002 01:12] Report message to a moderator
|
|
|