Bug 1269138 - git-daemon does not allow shallow clone from read-only repository
Summary: git-daemon does not allow shallow clone from read-only repository
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: git
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Stodulka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1391253
TreeView+ depends on / blocked
 
Reported: 2015-10-06 12:37 UTC by David Woodhouse
Modified: 2016-11-02 21:09 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
: 1391253 (view as bug list)
Environment:
Last Closed: 2016-07-01 09:44:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description David Woodhouse 2015-10-06 12:37:29 UTC
[dwoodhou@i7 tmp]$ git clone --depth 1 git://git.infradead.org/l2-mtd.git
Cloning into 'l2-mtd'...
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed


Oct  6 05:31:59 bombadil git-daemon[8837]: fatal: Unable to create temporary file '/srv/git/l2-mtd.git/shallow_2E9NkF': Permission denied
Oct  6 05:31:59 bombadil xinetd[7097]: EXIT: git status=128 pid=8837 duration=1(sec)


Perhaps relevant:
http://git.661346.n2.nabble.com/PATCH-upload-pack-allow-shallow-fetching-from-a-read-only-repository-td7604326.html

Comment 1 Fedora Admin XMLRPC Client 2016-03-16 18:23:52 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 2 Petr Stodulka 2016-07-01 09:44:25 UTC
Hi David,
it works for me with current git (was rebased since report of the bug), so I am closing this, but feel free to reopen if You reproduce again.


Note You need to log in before you can comment on or make changes to this bug.