Re: Permissions of objects within shared repo
- From
Brandon Casey <casey@nrlssc.navy.mil>
- Date
- May 1, 2009, 13:58 UTC
- Message-ID
- <b_0Yr2BIOq-ZcTAxvkSlKVaJjU1_GJhkRLKGCkG7Uj5ft73JWFjWlA@cipher.nrlssc.navy.mil>
- In-Reply-To
- <799406d60904301849t1e77e81bgc6d58ecd0e9d6b7d@mail.gmail.com>
Adam Mercer wrote:
Show 5 quoted lines
> [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
> 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?
On POSIX filesystems it's the _directory_ permissions which control whether or not the directory contents can be deleted.
Do:
ls -ld /path/to/repo.git/objects/00/
and you should see that the group has write permission to this directory which will allow group members to delete files residing in the directory.
-brandon