Re: use git-daemon by git://IP/path?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 12.06.2009 14:13 schrieb Ka-rlis Repsons:
Hello git users and writers!

I am new to git, but, having read manuals and grasping the concepts of it, I would like to first say thanks to all those, who created it!

Things would be fine, but I am having really bad ssh permission problems in here: for example, if there is an empty, initialised git archive and it is pulled to over ssh, the created files have permissions only u=rwX, no more. Then subsequently git pulling doesn't work. Maybe you know how to solve it?

Probably your umask is doing this? When you locally create a file (e.g. "touch foo"), does it then only have "-rwx------" as well?

Also, in general, how can it be set up, that >1 people have a write access to the same repository? Only by using the same login?

Have a look at the "--shared" option of "git init". That's supposed to create shared repositories, i.e. all users of the same group have write access. I'm not exactly sure how to make an existing repo "shared" after it's been created, but

$ git config core.sharedrepository 1

(which modifies .git/config) and a reasonable chown/chmod -R afterwards should work.

Hope this helps,
    Dirk
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]