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

Re: Permissions of objects within shared repo

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
May 1, 2009, 13:01 UTC
Message-ID
<alpine.DEB.1.00.0905011500530.10279@pacific.mpi-cbg.de>
In-Reply-To
<799406d60904301849t1e77e81bgc6d58ecd0e9d6b7d@mail.gmail.com>
Hi,
On Thu, 30 Apr 2009, Adam Mercer wrote:
Show 20 quoted lines
> We have a shared repository with the following config:
> 
> [core]
>         repositoryformatversion = 0
>         filemode = true
>         bare = true
>         sharedrepository = 1
> [receive]
>         denyNonFastforwards = true
> 
> Users push their commits to the repository over ssh, all users are in
> group 1000 and so far everything seems to be working OK. However I
> have noticed that something seems to be strange with the permissions
> of the objects, e.g.:
> 
> [ram@g3 ~]$ cd /path/to/repo.git/objects/00/
> [ram@g3 00]$ ls -l
> total 43
> -r--r--r--+ 1 user1           1000  2729 Apr 19 13:13
> 028ade623678384fca34c51e0ea3ae91b8a50d
Objects are immutable.  So they do not need to be writable at all.

Hth, Dscho

Previous: Adam MercerNext: Adam Mercer
Message 2 of 4 in “Permissions of objects within shared repo”
  1. Adam MercerMay 1, 2009
  2. Johannes SchindelinMay 1, 2009
  3. Adam MercerMay 1, 2009
  4. Brandon CaseyMay 1, 2009

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.