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
-
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?
-
solved: /ffp/etc had no execution permission
-
Hello,
how did you install the git, have you followed a tutorial ?
Thx
-
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.