Installer enhancement: Auto-CHMOD through FTP-Connection

Use GitHub to post feature requests for phpwcms.
Locked
brans

Installer enhancement: Auto-CHMOD through FTP-Connection

Post by brans »

Hi Oliver,

could you integrate the possibility to automatically
have all directories chmodded through a ftp-connection?

This would be possible as guys do over at
http://www.simplemachines.org in their installer script.

I think you could realize this the following way:

- implement a checkbox into the first installer page:
automatically chmod? (ftp-login-data needed!) []
- if yes: next page = form that asks you for your ftp-login and provides them to the chmod.php where chmod is done
- if no: proceed and let ppl do the chmod things manually

what do you other guys think of this idea ? Would you trust in OG's script that he won't send the ftp-data home ?

Of course I would.
User avatar
Oliver Georgi
Site Admin
Posts: 9919
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

In most cases this can be done by using PHP - no FTP neccessary (normally):

http://de.php.net/manual/de/function.chmod.php

I don't want to implement more and more - it is so easy to setup some paths manually...

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
brans

Post by brans »

yes of course it is but it would just be luxury to have such a feature.
jscholtysik

Post by jscholtysik »

Hi Oliver,


isn't it important to have an installation that is error free for all users, that means for beginners and intermediates? So I think it would surely make sense to include brans' feature request. Many of the entries here in this board concern questions in terms of chmod, rights of files and folders etc. etc. And these questions are rolling back again and again...

Examples:

http://www.phpwcms.de/forum/viewtopic.php?t=5514
http://www.phpwcms.de/forum/viewtopic.php?t=5401

Please rethink this invaluable feature.


Joachim
brans

Post by brans »

hmm joachim this is an argument...
I just saw this feature at some other scripts and I was wondering why
so few open source scripts are offering this feature.

As you say I think it would be luxury to have it and of course this would
take away the source of many many questions in the "support area"

I think it won't be too hard to develop some kind of "installation add-on" that will automatically do this job for you. Offering this add-on at the right place would cause many users to have no more problems with their installation.
jscholtysik

Post by jscholtysik »

And again an entry concerning chmod...

http://www.phpwcms.de/forum/viewtopic.php?p=32763#32763


Joachim
Locked