All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>
To: "Torsten Bögershausen" <tboegi@web.de>
Cc: Fairuzan Roslan <fairuzan.roslan@gmail.com>,
	gitster@pobox.com, git@vger.kernel.org
Subject: Re: odb_mkstemp's 0444 permission broke write/delete access on AFP
Date: Wed, 18 Feb 2015 09:15:21 +0100	[thread overview]
Message-ID: <vpq61azab52.fsf@anie.imag.fr> (raw)
In-Reply-To: <54E3804D.6020301@web.de> ("Torsten \=\?iso-8859-1\?Q\?B\=F6gersha\?\= \=\?iso-8859-1\?Q\?usen\=22's\?\= message of "Tue, 17 Feb 2015 18:54:21 +0100")

Torsten Bögershausen <tboegi@web.de> writes:

> On 17/02/15 17:58, Fairuzan Roslan wrote:
>
>> $ rm -rf testdir
>> rm: testdir/testfile: Operation not permitted
>> rm: testdir: Directory not empty
>> 
> This works on my system (Mac OS 10.9 as server and client)

Just to be sure: by "work", you mean "successfully removes the
directory", right?

>> The problem with Git failing is not because its inability to delete a directory but its inability to unlink and rename tmp_idx_XXXXXX and tmp_pack_XXXXXX because those files were set to 0444 by odb_mkstemp.
>> Try google for “Git AFP” and you will see a lot people are facing with the same problem.
> Yes, (at least to my knowledge) you seem to be one of the first to report it here, thanks for that.

And now I'm starting to wonder whether other people do have the same
issue. Sure, googling "Git AFP" shows a lot of people having problems
with Git and AFP, but are they really the same problem?

I googled 'git afp "unable to unlink"', and all results except one point
to this thread:

https://www.google.com/search?q=git+afp+%22warning%3A+unable+to+unlink%22

The only one which doesn't actually does not mention afp.

Fairuzan: are you sure you're not the only one having the issue? Can you
give more info on your system (OS version client and server side, ...)?

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/

  reply	other threads:[~2015-02-18  8:15 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-16 17:54 odb_mkstemp's 0444 permission broke write/delete access on AFP Fairuzan Roslan
2015-02-16 18:23 ` Matthieu Moy
2015-02-16 18:41   ` Fairuzan Roslan
2015-02-16 19:08     ` Matthieu Moy
2015-02-17  3:22       ` Fairuzan Roslan
2015-02-17  5:34         ` Torsten Bögershausen
2015-02-17  5:54           ` Fairuzan Roslan
2015-02-17  8:51         ` Matthieu Moy
2015-02-17 16:58           ` Fairuzan Roslan
2015-02-17 17:54             ` Torsten Bögershausen
2015-02-18  8:15               ` Matthieu Moy [this message]
2015-02-18 13:47                 ` Fairuzan Roslan
2015-02-18 14:05                   ` Matthieu Moy
2015-02-18 14:23                     ` Fairuzan Roslan
2015-02-17 17:13           ` Junio C Hamano
2015-02-18 17:04             ` Matthieu Moy
2015-02-18 17:13               ` Junio C Hamano
2015-02-18 17:31                 ` Junio C Hamano
2015-02-19 20:08           ` brian m. carlson
2015-02-20 10:40             ` Matthieu Moy
2015-02-16 19:06   ` Junio C Hamano
2015-02-16 19:50     ` Torsten Bögershausen

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=vpq61azab52.fsf@anie.imag.fr \
    --to=matthieu.moy@grenoble-inp.fr \
    --cc=fairuzan.roslan@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=tboegi@web.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.