From: Emanuel Rietveld <codehotter@gmail.com>
To: git@vger.kernel.org
Subject: Git push to samba/cifs share fails
Date: Fri, 30 Mar 2012 18:23:21 +0200 [thread overview]
Message-ID: <4F75DDF9.8060305@gmail.com> (raw)
I get an error message when I try to push my git repository to a share
mounted with mount.cifs.
[emanuel@faseri01 frog]$ sudo mount.cifs //windows2003/emanuel /mnt/e -o
user=emanuel,uid=500
Password:
[emanuel@faseri01 frog]$ mkdir /mnt/e/frog.git
[emanuel@faseri01 frog]$ git init --bare /mnt/e/frog.git
Initialized empty Git repository in /mnt/e/frog.git/
[emanuel@faseri01 frog]$ git push /mnt/e/frog.git/ master
Counting objects: 18, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (16/16), done.
fatal: error when closing sha1 file: Bad file descriptor
error: pack-objects died of signal 13
error: failed to push some refs to '/mnt/e/frog.git/'
[emanuel@faseri01 frog]$ du -hs
67M .
[emanuel@faseri01 frog]$ uname -a
Linux faseri01 3.3.0-4.fc16.x86_64 #1 SMP Tue Mar 20 18:05:40 UTC 2012
x86_64 x86_64 x86_64 GNU/Linux
[emanuel@faseri01 frog]$ git --version
git version 1.7.7.6
This repository is 67M. I do not have any git hooks configured. Another,
smaller repository works without errors if I follow the same procedure.
The client is a fully up to date Fedora 16 machine. The server is a
windows 2003 server.
Is this kind of usage possible with git? I just want to back up my
repository to the fileserver.
Thank you for your time.
Kind Regards,
Emanuel Rietveld
next reply other threads:[~2012-03-30 16:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-30 16:23 Emanuel Rietveld [this message]
2012-03-31 18:47 ` Git push to samba/cifs share fails Sebastian Schuberth
2012-04-04 8:35 ` Emanuel Rietveld
2012-04-04 12:50 ` Sebastian Schuberth
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=4F75DDF9.8060305@gmail.com \
--to=codehotter@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).