Package: fusionforge-plugin-scmgit
Version: 5.2.3-1
Severity: normal

fatal: Could not change back to '/root': Permission denied
fatal: Not a git repository: 
'/var/lib/gforge/chroot/scmrepos/git/testgit/users/obergix.git'
Architecture: amd64 (x86_64)

Kernel: Linux 3.13-1-amd64 (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

 Dear Maintainer,

I've created a project with a "private" git repo, i.e. where only members have 
read (and write) access.

Personnal repo creation cronjobs fail with something like :
# /usr/share/gforge/cronjobs/create_scm_repos.php 
Initialized empty shared Git repository in /tmp/testgitn-XL9Q7v.git/
PHP Warning:  
fopen(/var/lib/gforge/chroot/scmrepos/git/testgit/users/obergix.git/hooks/post-update):
 failed to open stream: No such file or directory in 
/usr/share/gforge/plugins/scmgit/common/GitPlugin.class.php on line 298
PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in 
/usr/share/gforge/plugins/scmgit/common/GitPlugin.class.php on line 299
PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in 
/usr/share/gforge/plugins/scmgit/common/GitPlugin.class.php on line 300

I believe the git clone command should be changed from :
git clone --bare $main_repo $repodir
to
cd $repodir; git clone --bare $main_repo .

Hope this helps.

Best regards,

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (900, 'testing')


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to