2011-04-20, 00:09:23
(This post was last modified: 2011-04-20, 01:23:49 by infos.media.)
Got a reply from my hoster which I'll try on a testinstall now.
Edit: Alright. The solution is to switch to PHP's CGI version in .htaccess
which runs files as the main FTP user in the webspace account. So, remote editing and uploading files doesn't interfere with script permissions as before. All contributors have to use the same FTP user, namely the main user, though.
I ran a testinstall which worked having folders still at 755 and files at 644 (except /backup/+ and /data/+ which need 777)
PS Thanks for your info, hameau!
Edit: Alright. The solution is to switch to PHP's CGI version in .htaccess
Code:
AddHandler php[version]-cgi .php
which runs files as the main FTP user in the webspace account. So, remote editing and uploading files doesn't interfere with script permissions as before. All contributors have to use the same FTP user, namely the main user, though.
I ran a testinstall which worked having folders still at 755 and files at 644 (except /backup/+ and /data/+ which need 777)
PS Thanks for your info, hameau!