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

Re: [PATCH] test-lib.sh: try to re-chmod & retry on failed trash removal

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 11, 2021, 04:34 UTC
Message-ID
<xmqqa6jgdvrk.fsf@gitster.g>
In-Reply-To
<xmqqee8seded.fsf@gitster.g>
Junio C Hamano <gitster@pobox.com> writes:
>> +		chmod -R u+w "$dir" 2>/dev/null
>
> If a test lost searchable bit from directories, "u+wx" may be
> necessary to clean fully, no?
Sorry, but I was stupid.

If we were to worry about losing the searchable bit, then I should considered the possibility that we may also lose the readable bit, too.

Previous: Junio C HamanoNext: Ævar Arnfjörð Bjarmason
Message 4 of 6 in “test-lib.sh: try to re-chmod & retry on failed trash removal”
  1. test-lib.sh: try to re-chmod & retry on failed trash removalÆvar Arnfjörð Bjarmason, Oct 9, 2021
  2. SZEDER GáborOct 10, 2021
  3. Junio C HamanoOct 10, 2021
  4. Junio C HamanoOct 11, 2021
  5. test-lib.sh: try to re-chmod & retry on failed trash removalÆvar Arnfjörð Bjarmason, Oct 11, 2021
  6. Junio C HamanoOct 12, 2021

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.