git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Martin Langhoff <martin.langhoff@gmail.com>
To: Git Mailing List <git@vger.kernel.org>
Subject: Strange unable to unlink error with git-prune-packed
Date: Wed, 4 Jan 2006 17:46:26 +1300	[thread overview]
Message-ID: <46a038f90601032046l31f51742k93f3f9f5a826bef1@mail.gmail.com> (raw)

Weilding a recent git version 1.0.6-g58e3 it turns out I cannot run
git-prune-packed on a simple repo on my OSX (Panther 10.3.9). The
local repo looks fine in my eyes, and permissions are similar to those
on Linux. Relaxing permissions doesn't help either, so there may be
something else afoot.

When I invoke git-prune-packed I am greeted by (3-line sample):

error: unable to unlink .git/objects/43/2251e8488dc3c72d94d698ed69003137c47244
error: unable to unlink .git/objects/43/6bc8b274ab96944a6f8c3cf5e3fbeef422042b
error: unable to unlink .git/objects/43/fe47e9508289ad4eca71613a9f20d7f3323602

File modes after I ran chmod -R u+w .git/objects to see if
prune-packed was taking the mode too seriously on OSX

$ ls -la .git/objects/43
total 24
drwxr-xr-x    5 martin  martin   170  4 Jan 17:37 .
drwxr-xr-x  229 martin  martin  7786  4 Jan 17:37 ..
-rw-r--r--    1 martin  martin   211 30 Dec 11:21
2251e8488dc3c72d94d698ed69003137c47244
-rw-r--r--    1 martin  martin    53 30 Dec 11:21
6bc8b274ab96944a6f8c3cf5e3fbeef422042b
-rw-r--r--    1 martin  martin   152 30 Dec 11:21
fe47e9508289ad4eca71613a9f20d7f3323602

This is low priority for me, and so weird that it has to be a pilot
error -- OTOH I may do a bisect to try and figure out whether it's a
recent change...

cheers,


martin

             reply	other threads:[~2006-01-04  4:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-04  4:46 Martin Langhoff [this message]
2006-01-04 16:34 ` Strange unable to unlink error with git-prune-packed Linus Torvalds
2006-01-04 22:10   ` Martin Langhoff

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=46a038f90601032046l31f51742k93f3f9f5a826bef1@mail.gmail.com \
    --to=martin.langhoff@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).