git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Git push from bare repo

From
BJ Hargrave <bj@bjhargrave.com>
Date
May 28, 2010, 12:59 UTC
Message-ID
<36AD1DE8-9E28-4373-94CF-72E88ABBB309@bjhargrave.com>
In-Reply-To
<3529f1c81d1062a941056914c612d8c2@ns-linux.org>
On May 28, 2010, at 08:28 , Goran Mekić wrote:
Show 7 quoted lines
>    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
Previous: Goran MekićNext: Gelonida
Message 4 of 5 in “Git push from bare repo”
  1. Goran MekićMay 28, 2010
  2. Andreas EricssonMay 28, 2010
  3. Goran MekićMay 28, 2010
  4. BJ HargraveMay 28, 2010
  5. GelonidaMay 29, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.