git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Adam Mercer <ramercer@gmail.com>
To: GIT <git@vger.kernel.org>
Subject: Permissions of objects within shared repo
Date: Thu, 30 Apr 2009 20:49:36 -0500	[thread overview]
Message-ID: <799406d60904301849t1e77e81bgc6d58ecd0e9d6b7d@mail.gmail.com> (raw)

Hi

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
-r--r--r--+ 1 user1           1000 10697 Apr 20 21:19
0d9f5769a65081bf95d64b0a23b62b55095f2f
-r--r--r--+ 1 user2           1000   297 Apr 17 10:00
2b3138d14b41d5a01308edd32e8af5ad4c4886
-r--r--r--+ 1 user3           1000   169 Apr  9 12:03
8ab284186f0ceb450d86e3ff1eca486eb6f5b3
-r--r--r--+ 1 user4           1000   846 Apr 27 16:51
90192a4a1843e5849129312ac3bc98766c4c85
-r--r--r--+ 1 user5           1000   602 Apr 13 20:37
948b07abc15345dc31a15757cbc248fa95e49e
-r--r--r--+ 1 user4           1000   435 Apr 20 17:44
a30f4ded65434a2a2d050d98657c118665578f
-r--r--r--+ 1 user6           1000   818 Apr 25 04:11
a5fed2108570efb32e6db519cda92b07e91994
-r--r--r--+ 1 user6           1000   169 Apr 26 13:34
a756fb8966f4564e522471230f5bfe72e33776
-r--r--r--+ 1 user7           1000   379 Apr  9 04:59
bb60a52d841151b564267de8c37a2198a5812e
-r--r--r--+ 1 user8           1000   846 Apr 16 10:55
db929d4496f84b5d7e6a5bd9aeda904bf1b3e6
-r--r--r--+ 1 user2           1000  2089 Apr 20 07:24
ddd0edf3c9b1b94e7036f44a65cf71ace1cfb2
[ram@g3 00]$

will this cause a problem when git gc --auto decides its time to put
these loose objects into a pack, i.e. will they be able to be removed?

Cheers

Adam

             reply	other threads:[~2009-05-01  1:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-01  1:49 Adam Mercer [this message]
2009-05-01 13:01 ` Permissions of objects within shared repo Johannes Schindelin
2009-05-01 15:15   ` Adam Mercer
2009-05-01 13:58 ` Brandon Casey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=799406d60904301849t1e77e81bgc6d58ecd0e9d6b7d@mail.gmail.com \
    --to=ramercer@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).