* Strange permission problem - advice needed
@ 2010-04-28 11:13 Ian Hobson
2010-04-28 12:30 ` Johannes Sixt
0 siblings, 1 reply; 3+ messages in thread
From: Ian Hobson @ 2010-04-28 11:13 UTC (permalink / raw)
To: git
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Strange permission problem - advice needed
2010-04-28 11:13 Strange permission problem - advice needed Ian Hobson
@ 2010-04-28 12:30 ` Johannes Sixt
2010-04-28 13:09 ` Ian Hobson
0 siblings, 1 reply; 3+ messages in thread
From: Johannes Sixt @ 2010-04-28 12:30 UTC (permalink / raw)
To: Ian Hobson; +Cc: git
Am 4/28/2010 13:13, schrieb Ian Hobson:
> I'm using git on windows (XP) ...
> $ 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.
Chances are that you have a hung git process that has the files open. Kill
it and retry.
-- Hannes
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Strange permission problem - advice needed
2010-04-28 12:30 ` Johannes Sixt
@ 2010-04-28 13:09 ` Ian Hobson
0 siblings, 0 replies; 3+ messages in thread
From: Ian Hobson @ 2010-04-28 13:09 UTC (permalink / raw)
To: Johannes Sixt; +Cc: git
On 28/04/2010 13:30, Johannes Sixt wrote:
> Am 4/28/2010 13:13, schrieb Ian Hobson:
>
>> I'm using git on windows (XP) ...
>>
>
>> $ 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.
>>
> Chances are that you have a hung git process that has the files open. Kill
> it and retry.
>
> -- Hannes
> --
>
Thanks Hannes,
Your were completely correct.
All sorted now.
Regards
Ian
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-04-28 13:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-28 11:13 Strange permission problem - advice needed Ian Hobson
2010-04-28 12:30 ` Johannes Sixt
2010-04-28 13:09 ` Ian Hobson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox