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

Re: [PATCH v3] reftable/stack: adjust permissions of compacted tables

From
Justin Tobler <jltobler@gmail.com>
Date
Jan 30, 2024, 16:56 UTC
Message-ID
<CAGAWz+7enErUf9apL9nE13=bWSHL=Sz6PdUQ_DRH7-9NCvQ8Fw@mail.gmail.com>
In-Reply-To
<a211818108053754aca002726d0206623a347952.1706263589.git.ps@pks.im>
On Fri, Jan 26, 2024 at 4:09 AM Patrick Steinhardt <ps@pks.im> wrote:
Show 19 quoted lines
>
> When creating a new compacted table from a range of preexisting ones we
> don't set the default permissions on the resulting table when specified
> by the user. This has the effect that the "core.sharedRepository" config
> will not be honored correctly.
>
> Fix this bug and add a test to catch this issue. Note that we only test
> on non-Windows platforms because Windows does not use POSIX permissions
> natively.
>
> Signed-off-by: Patrick Steinhardt <ps@pks.im>
> ---
>
> Changes compared to v2:
>
>   - Extended the commit message to say why we don't test on Windows
>     systems.
>
>   - Renamed the `scratch` variable to `path`.
Thanks Patrick! This version looks good to me. I have nothing else to add
-Justin
Previous: Patrick Steinhardt
Message 9 of 9 in “reftable: adjust permissions of compacted tables”
  1. 0/2 reftable: adjust permissions of compacted tablesPatrick Steinhardt, Jan 24, 2024
  2. 1/2 reftable/stack: use fchmod(3P) to set permissionsPatrick Steinhardt, Jan 24, 2024
  3. 2/2 reftable/stack: adjust permissions of compacted tablesPatrick Steinhardt, Jan 24, 2024
  4. reftable/stack: adjust permissions of compacted tablesPatrick Steinhardt, Jan 24, 2024
  5. Karthik NayakJan 25, 2024
  6. Justin ToblerJan 25, 2024
  7. Patrick SteinhardtJan 26, 2024
  8. reftable/stack: adjust permissions of compacted tablesPatrick Steinhardt, Jan 26, 2024
  9. Justin ToblerJan 30, 2024

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.