Skip to content

Filesystem Permissions Break Functionality #53

@BPR02

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.

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