Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PoC: sync: add sudo support #305

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Commits on Nov 17, 2021

  1. PoC: sync: add sudo support

    NOTE This is a PoC just to start a discussion on wether such feature could be
         interesting. It doesn't have tests and might require refactoring.
    
    Sometimes you need to sync files that the SSH user cannot modify, and the beta
    endpoint doesn't have root SSH access.
    
    If the SSH user has passwordless sudo, adding to mutagen.yml
    
        sync:
          defaults:
            permissions:
              sudo: true
    
    will invoke the mutagen agent with sudo.
    
    Signed-off-by: Marco Molteni <marco.molteni@mailbox.org>
    marco-m committed Nov 17, 2021
    Configuration menu
    Copy the full SHA
    b0d0849 View commit details
    Browse the repository at this point in the history