From: Ian Hobson <ian@ianhobson.co.uk>
To: git@vger.kernel.org
Subject: Strange permission problem - advice needed
Date: Wed, 28 Apr 2010 12:13:31 +0100 [thread overview]
Message-ID: <4BD8185B.5060706@ianhobson.co.uk> (raw)
Hi all,
I'm using git on windows (XP) and the GUI told me there were too may
objects so I allowed it to tidy up. It errors, that it could not unlink
some files. So I checked the properties - all files are readable.
I repeated the gc in git bash with the following results.
$ git gc
Counting objects: 398, done.
Compressing objects: 100% (205/205), done.
Writing objects: 100% (398/398), done.
Total 398 (delta 191), reused 398 (delta 191)
rm: cannot unlink `pack-6f07bacdef764f32f12af14877b307d2cb36a1e4.pack':
Permission denied
rm: cannot unlink `pack-6f07bacdef764f32f12af14877b307d2cb36a1e4.idx':
Permission denied
rm: cannot unlink `pack-cba55771937a4549af73c09c17b10cfceb1320df.pack':
Permission denied
rm: cannot unlink `pack-cba55771937a4549af73c09c17b10cfceb1320df.idx':
Permission denied
Removing duplicate objects: 100% (256/256), done.
Ian@MARS /d/websites/SOPSystem (master)
$ git version
git version 1.7.0.2.msysgit.0
Note - this is Windows XP so there are no permissions on the files. The
files are all local.
I even disabled AVG and tried again. Same result.
What is going on? and does it matter?
A thought - I copy/pasted (not cloned) the whole repo from a Samba share
(presented by Ubuntu) about 2 weeks ago. Could it be something left
over from that? The share was read/write and I owned all the files.
Thanks
Ian
next reply other threads:[~2010-04-28 11:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-28 11:13 Ian Hobson [this message]
2010-04-28 12:30 ` Strange permission problem - advice needed Johannes Sixt
2010-04-28 13:09 ` Ian Hobson
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=4BD8185B.5060706@ianhobson.co.uk \
--to=ian@ianhobson.co.uk \
--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