Skip to content

mutagen sync create failing - agent binaries copied to remote/beta not executable #543

@Tomasvrba

Description

@Tomasvrba

running mutagen sync create fails because binaries copied to beta are not executable:

mutagen daemon is running on a Debian 13 system

remote device is an Arch linux system

ssh connection is running over Tailscale

Installing agent...
Error: unable to connect to beta: unable to connect to endpoint: unable to dial agent endpoint: unable to
 install agent: unable to invoke agent installation: remote error: zsh:1: permission denied: ./.mutagen-a
gent29d06cd9-a54a-4712-8863-f272b238bc05

The binaries get copied to the remote user's home directory ./.mutagen-agent{uuid} as -rw-r--r-- according to the remote's 022 umask, but shouldn't mutagen preserve the executability bit from what I understand from the docs?
Or make it executable if it gets copied over without x

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions