| Issue 1074: | Permissions of refs/changes/* not group-writable | |
| 4 people starred this issue and may be notified of changes. | Back to list |
Affected Version: gerrit> select * from schema_version; VERSION_NBR | SINGLETON ------------+---------- 40 | X What steps will reproduce the problem? 1. We created a bare shared repo (git init --bare --shared=0660) and pushing gerrit changes here. We notice that the .git/refs/objects/* directory is unix group-writable, but files and directories under .git/refs/changes are not group-writable -- they have permissions of 755. Consequently, when multiple users do a git push to gerrit, depending on who goes in first, some of them get the error: fatal: Unable to create '/path/to/git/repo/refs/changes/88/777/1.lock': Permission denied error: failed to run pack-refs Even though the user belongs to the unix group associated with /path/to/git/repo/refs/changes/88/777, gerrit makes the directory group-not-writable. What is the expected output? What do you see instead? git push should not give the error. SN
Feb 10, 2012
#1
patn...@gmail.com
Jul 3, 2015
This looks very old. Closing this issue. Please say if this issue is still needed.
Status:
Invalid
|
|
| ► Sign in to add a comment |