Skip to content

Filesystem Permissions Break Functionality #53

Closed

Description

@BPR02

Certain file permissions break when mounting the bind mounts to a non-user owned folder (e.g. /srv) and using peerstash commands without sudo.

  • peerstash setup fails to generate the restic password without sudo
  • peerstash restore cannot restore into the /mnt/peerstash_restore folder without sudo
  • peerstash restore cannot delete the /tmp/peerstash/restore folder if it was previously run with sudo
  • peerstash mount cannot mount into /tmp/peerstash_mnt folder without sudo
  • peerstash unmount does not complete without sudo

PR #52 aims to fix these issues.

Activity

  1. changed the title [-]Certain Permissions Break[/-] [+]Filesystem Permissions Break Functionality[/+] on Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions