Skip to content

Conversation

@Ravinou
Copy link
Owner

@Ravinou Ravinou commented Jan 9, 2026

No description provided.

@matthijskooijman
Copy link

Looks good, but I'm surprised about the mkdir. Did you test that this was required? Because the borg-serve manpage says:

       --restrict-to-repository PATH
              restrict repository access. Only the repository located at PATH (no sub-directories are considered) is accessible. Can be specified multiple times to allow the client access to  several
              repositories.  Unlike --restrict-to-path sub-directories are not accessible; PATH needs to directly point at a repository location. PATH may be an empty directory or the last element of
              PATH may not exist, in which case the client may initialize a repository there.

Which suggests the path does not need to exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants