Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#208 Installer sets wrong filepermissions

Latest_version
open
nobody
5
2012-11-27
2010-08-29
Anonymous
No

Hello,

SG Version: 0.641
php version: 5.2.0-8
script: sgs_installer.php

Problem:
The installer sets the file and directory permissions wrong if you use this script in suphp environments. D755 F644 should be set.
The installer ends in an 500 error output of the webserver.

solution:
Change the script, add a question about the environment.

Temporarily solution:
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;

Discussion

  • Thomas Bley
    Thomas Bley
    2010-09-02

    Hello,

    a workaround would be also to change the suPHP configuration.

    bye
    Thomas