D-Link Forums

The Graveyard - Products No Longer Supported => D-Link Storage => DNS-325 => Topic started by: gzp on September 27, 2013, 02:46:29 AM

Title: gitserver on the NAS
Post by: gzp on September 27, 2013, 02:46:29 AM
Using ffp I've tried to setup a simple git server (1-2 users at most). The git itself works just fine "locally" on the NAS (ssh into the NAS and use git from the command line).
When I try to access it remotely, the only thing I get is this:

git clone ssh://git@server.ip:1234/git/test test
Cloning into 'test'...
git@server.ip's password:
fatal: unable to access '/ffp/etc/gitconfig': Permission denied
fatal: The remote end hung up unexpectedly

ssh git@serve.ip works just well. The shell for git has been set to git-shell, and git is the owner of the /ffp/etc/gitconfig

Any ideas?
Title: Re: gitserver on the NAS
Post by: gzp on September 27, 2013, 04:08:58 AM
solved: /ffp/etc had no execution permission
Title: Re: gitserver on the NAS
Post by: luguen on February 24, 2014, 07:50:13 AM
Hello,
how did you install the git, have you followed a tutorial ?
Thx
Title: Re: gitserver on the NAS
Post by: gzp on March 07, 2014, 09:02:42 AM
No, there was no tutorial. first I had to install funplug. Then through its package manager I've added ssh (there is a tutorial for that) and git. Now git works over ssh. I cannot use the git protocol nor git-shell. But for a small project (for me) it was just enough. It looks like as a local git repo that is accessed through ssh. No hooks no user management. (All ssh-user can access the git)

As I remember installing funplug and changing the permission of etc was the hard part.

Regards gzp.