- OK but we could at least help those users with a handy shell
script that checks for possibilities and sets the permission as
good as possible.
I don't know if a shell script would really help. Many users (especially those who would need the script ;-) don't have shell access to the webserver.
Additionally: what should the shell script do? Blindly running chmod 777 isn't a good idea; chown can't be done by a normal user (only root), and you don't know if username should be "wwwrun" or "httpd" or ...
Or do you think should let them completely alone when they don't
know about chmod and open-basedir (which could be very important
here!)?
Add more detailed error messages. I just did a new installation, run chmod go-w -R and got the message "/path/to/dummy-3.7.0/typo3conf/localconf.php is not writable!".
If you add a documentation link to this (explaining chmod / chown and open_basedir), this first problem should be solved. The "better" error message would be: "$file not writeable. See ...... for help."
(...... should be a link to documentation explaining chmod/chown and open_basedir).
The other files and directories that need to be writeable for wwwrun are listed after the 1-2-3 installation is done and you click on the "Continue to configure TYPO3 (Recommended)" and then the "1. Basic configuration" link. No problem so far, but again a documentation link would be more useful than just "The directory xy must be writeable!"
And: Yes, open_basedir is very important here. Unfortunally, it must be set for all users on a server by the admin. Hope he does, but don't rely on it ;-)
Thanks to the user bzoltz who just volunteered to point all those
users to the FAQ every time they post such a problem (it doesn't
need much time... ;o))
What a luck that this was bzoltz and not me ;-))
To make the "BTW" from my last comment clear:
- send somebody a FAQ link: around 30 seconds, good answer quality
since the FAQ text is checked by many people.
- write a complete answer: some minutes, possibly not-so-good answer
quality - you could miss something or just include a typo in a
command.
Trust me - I'm an author of the german SuSE Linux FAQ and know it ;-)