git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Feb 18, 2015, 08:15 UTC
Message-ID
<vpq61azab52.fsf@anie.imag.fr>
In-Reply-To
<54E3804D.6020301@web.de>
Torsten Bögershausen <tboegi@web.de> writes:
Show 7 quoted lines
> 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/
Previous: Torsten BögershausenNext: Fairuzan Roslan
Message 11 of 22 in “odb_mkstemp's 0444 permission broke write/delete access on AFP”
  1. Fairuzan RoslanFeb 16, 2015
  2. Matthieu MoyFeb 16, 2015
  3. Fairuzan RoslanFeb 16, 2015
  4. Matthieu MoyFeb 16, 2015
  5. Fairuzan RoslanFeb 17, 2015
  6. Torsten BögershausenFeb 17, 2015
  7. Fairuzan RoslanFeb 17, 2015
  8. Matthieu MoyFeb 17, 2015
  9. Fairuzan RoslanFeb 17, 2015
  10. Torsten BögershausenFeb 17, 2015
  11. Matthieu MoyFeb 18, 2015
  12. Fairuzan RoslanFeb 18, 2015
  13. Matthieu MoyFeb 18, 2015
  14. Fairuzan RoslanFeb 18, 2015
  15. Junio C HamanoFeb 17, 2015
  16. Matthieu MoyFeb 18, 2015
  17. Junio C HamanoFeb 18, 2015
  18. Junio C HamanoFeb 18, 2015
  19. brian m. carlsonFeb 19, 2015
  20. Matthieu MoyFeb 20, 2015
  21. Junio C HamanoFeb 16, 2015
  22. Torsten BögershausenFeb 16, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.