Re: Git push from bare repo

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

 



On May 28, 2010, at 08:28 , Goran Mekić wrote:
>    There's more then one developer and 600 is set to just one user.
> Post-receive hook is executed as developer doing push. The accounts are in
> LDAP, but I can't set all their UID number to same number because it's
> used
> for PAM. I was thinking about ACL. Is that even a solution? The dumb one
> would be cron, but I wish I avoid pushing when there's no change.
> 

What about having a script which does the push have setuid to the owner of the key. Then the post-receive hook can invoke that script which will have access to the ssh key to do the push.
-- 

BJ



--
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]