git/list[1] front-page[2] threads[3] people[4] search[5] about
wed 2026-10-07 17:28 UTC

Re: No fchmod() under msygit - Was: Re: [PATCH 00/14] Add submodule test harness

From
Erik Faye-Lund <kusmabite@gmail.com>
Date
Jul 14, 2014, 11:31 UTC
Message-ID
<CABPQNSY5x_JOsxyKn7xZ9nc5TJ0yHdNvam0htyX01U58bvV7vg@mail.gmail.com>
In-Reply-To
<20140709200046.GB17454@dcvr.yhbt.net>
On Wed, Jul 9, 2014 at 10:00 PM, Eric Wong <normalperson@yhbt.net> wrote:
Show 12 quoted lines
> Torsten Bögershausen <tboegi@web.de> wrote:
>> (And why is it  "& 07777" and not  "& 0777")
>
> This is to preserve the uncommon sticky/sgid/suid bits.  Probably not
> needed, but better to keep as much intact as possible.
>
>> Can we avoid the fchmod()  all together ?
>
> For single-user systems, sure.
>
> For multi-user systems with git-imap-send users and passwords in
> $GIT_CONFIG, I suggest not.

You're saying this as if Windows is a single-user system. It's not, but it uses ACLs rather than POSIX permissions to manage file-system permissions. So far we've opted to ignore ACLs in Git for Windows, though.

Previous: Junio C HamanoNext: Nico Williams
Message 59 of 65 in “Add submodule test harness”
  1. 00/14 Add submodule test harnessJens Lehmann, Jun 15, 2014
  2. 01/14 test-lib: add test_dir_is_empty()Jens Lehmann, Jun 15, 2014
  3. 02/14 submodules: Add the lib-submodule-update.sh test libraryJens Lehmann, Jun 15, 2014
  4. 03/14 checkout: call the new submodule update test frameworkJens Lehmann, Jun 15, 2014
  5. 04/14 apply: add t4137 for submodule updatesJens Lehmann, Jun 15, 2014
  6. 05/14 read-tree: add t1013 for submodule updatesJens Lehmann, Jun 15, 2014
  7. 06/14 reset: add t7112 for submodule updatesJens Lehmann, Jun 15, 2014
  8. 07/14 bisect: add t6041 for submodule updatesJens Lehmann, Jun 15, 2014
  9. 08/14 merge: add t7613 for submodule updatesJens Lehmann, Jun 15, 2014
  10. 09/14 rebase: add t3426 for submodule updatesJens Lehmann, Jun 15, 2014
  11. 10/14 pull: add t5572 for submodule updatesJens Lehmann, Jun 15, 2014
  12. 11/14 cherry-pick: add t3512 for submodule updatesJens Lehmann, Jun 15, 2014
  13. 12/14 am: add t4255 for submodule updatesJens Lehmann, Jun 15, 2014
  14. 13/14 stash: add t3906 for submodule updatesJens Lehmann, Jun 15, 2014
  15. 14/14 revert: add t3513 for submodule updatesJens Lehmann, Jun 15, 2014
  16. Eric SunshineJun 16, 2014
  17. Junio C HamanoJun 16, 2014
  18. Junio C HamanoJun 16, 2014
  19. Jens LehmannJun 17, 2014
  20. Jens LehmannJun 17, 2014
  21. Jens LehmannJun 17, 2014
  22. Junio C HamanoJun 17, 2014
  23. Jens LehmannJun 17, 2014
  24. Junio C HamanoJun 17, 2014
  25. 01/14 test-lib: add test_dir_is_empty()Jens Lehmann, Jun 19, 2014
  26. 02/14 submodules: Add the lib-submodule-update.sh test libraryJens Lehmann, Jun 19, 2014
  27. 07/14 bisect: add t6041 for submodule updatesJens Lehmann, Jun 19, 2014
  28. 09/14 rebase: add t3426 for submodule updatesJens Lehmann, Jun 19, 2014
  29. 13/14 stash: add t3906 for submodule updatesJens Lehmann, Jun 19, 2014
  30. 14/14 revert: add t3513 for submodule updatesJens Lehmann, Jun 19, 2014
  31. Junio C HamanoJun 20, 2014
  32. 02/14 submodules: Add the lib-submodule-update.sh test libraryJens Lehmann, Jul 1, 2014
  33. Torsten BögershausenJul 2, 2014
  34. Jens LehmannJul 2, 2014
  35. Torsten BögershausenJul 3, 2014
  36. Jens LehmannJul 3, 2014
  37. Junio C HamanoJul 7, 2014
  38. Torsten BögershausenJul 7, 2014
  39. Jens LehmannJul 8, 2014
  40. Ramsay JonesJul 8, 2014
  41. Ramsay JonesJul 8, 2014
  42. Torsten BögershausenJul 9, 2014
  43. No fchmod() under msygit - Was: Re: [PATCH 00/14] Add submodule test harnessTorsten Bögershausen, Jul 9, 2014
  44. Junio C HamanoJul 9, 2014
  45. Johannes SixtJul 9, 2014
  46. Jens LehmannJul 9, 2014
  47. Junio C HamanoJul 9, 2014
  48. Junio C HamanoJul 9, 2014
  49. Eric WongJul 9, 2014
  50. Eric WongJul 9, 2014
  51. Junio C HamanoJul 9, 2014
  52. No fchmd. was: Re: [PATCH 00/14] Add submodule test harnessTorsten Bögershausen, Jul 10, 2014
  53. Junio C HamanoJul 10, 2014
  54. Junio C HamanoJul 10, 2014
  55. Torsten BögershausenJul 10, 2014
  56. Junio C HamanoJul 10, 2014
  57. Jens LehmannJul 12, 2014
  58. Junio C HamanoJul 14, 2014
  59. Erik Faye-LundJul 14, 2014
  60. Nico WilliamsJul 14, 2014
  61. Nico WilliamsJul 14, 2014
  62. Jens LehmannJul 14, 2014
  63. Karsten BleesJul 14, 2014
  64. Junio C HamanoJul 14, 2014
  65. Junio C HamanoJul 14, 2014

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.