• November 01, 2024, 12:23:57 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: gitserver on the NAS  (Read 6362 times)

gzp

  • Level 1 Member
  • *
  • Posts: 10
gitserver on the NAS
« 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?
Logged

gzp

  • Level 1 Member
  • *
  • Posts: 10
Re: gitserver on the NAS
« Reply #1 on: September 27, 2013, 04:08:58 AM »

solved: /ffp/etc had no execution permission
Logged

luguen

  • Level 1 Member
  • *
  • Posts: 2
Re: gitserver on the NAS
« Reply #2 on: February 24, 2014, 07:50:13 AM »

Hello,
how did you install the git, have you followed a tutorial ?
Thx
Logged

gzp

  • Level 1 Member
  • *
  • Posts: 10
Re: gitserver on the NAS
« Reply #3 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.
Logged