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

Re: Bug encountered while comitting

From
Junio C Hamano <junkio@cox.net>
Date
Mar 24, 2006, 22:55 UTC
Message-ID
<7vacbfzc3u.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20060324183951.GA23193@spinlock.ch>
Matthias Kestenholz <lists@irregular.ch> writes:
Show 5 quoted lines
> The PHP script created directories under .git/objects which were
> only writable by www-data. There were other directories which were
> owned by user mk and group www-data, and they were group writable.
>
> So, I had write access to only a part of the .git directory.
core.sharedrepository perhaps?

While it probably is not a good idea to have you in www-data, it appears that is essentially you will end up doing, because PHP scripts that may _create_ new directories better not to have privilege to give newly created directories away to you (busting your quota), so they will be owned by www-data.www-data and for you to be able to write into it you either need to be www-data user or in www-data group, with core.sharedrepostiory set.

Previous: Matthias KestenholzNext: Matthias Kestenholz
Message 4 of 7 in “Bug encountered while comitting”
  1. Matthias KestenholzMar 24, 2006
  2. Andreas EricssonMar 24, 2006
  3. Matthias KestenholzMar 25, 2006
  4. Junio C HamanoMar 24, 2006
  5. Matthias KestenholzMar 25, 2006
  6. Junio C HamanoMar 25, 2006
  7. Matthias KestenholzMar 25, 2006

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.