Subject: Re: odb_mkstemp's 0444 permission broke write/delete access on AFP

From: Matthieu Moy <[email-masked]>
Date: Wed, 18 Feb 2015 09:15:21 +0100

Torsten Bögershausen <[email-masked]> 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/