tags 682223 + patch thanks Olivier Berger <[email protected]> writes:
> AFAICT, /usr/share/gforge/cronjobs/create_scm_repos.php uses code from > GitPlugin.class.php that sets incorrect permissions for the public (i.e. > browsable through gitweb) repositories, when used via SSH (use_ssh = yes). > > The dir is owned by www-data and has group set to the project's group, but > the rights for the group don't include the read. > > This results in errors like : > $ git clone > git+ssh://auser@myforge/var/lib/gforge/chroot/scmrepos/git/testproj/testproj.git > Cloning into 'testproj'... > fatal: '/var/lib/gforge/chroot/scmrepos/git/testproj/testproj.git' does not > appear to be a git repository > fatal: The remote end hung up unexpectedly > I think the following commit in upstream's 5.2 branch fixes the problem : https://fusionforge.org/scm/viewvc.php/branches/Branch_5_2/src/plugins/scmgit/common/GitPlugin.class.php?root=fusionforge&r1=16019&r2=16024&view=patch Hope this helps. Best regards, -- Olivier BERGER http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingenieur Recherche - Dept INF Institut Mines-Telecom, Telecom SudParis, Evry (France) -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

