Package: fusionforge-plugin-scmgit
Severity: normal

Hi.

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

Hope this helps.

P.S.: patch on its way

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-3-686-pae (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to