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

Set permissions/ownership of file that is copied #139

Open
spott opened this issue Sep 30, 2022 · 0 comments
Open

Set permissions/ownership of file that is copied #139

spott opened this issue Sep 30, 2022 · 0 comments
Labels
kind/enhancement Improvements or new features

Comments

@spott
Copy link

spott commented Sep 30, 2022

Hello!

  • Vote on this issue by adding a 👍 reaction
  • If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

Allow for changing the ownership/permissions of the file that is copied to the remote host. Ideally, this would take advantage of sudo if needed.

The use case is: you have set up a regular user with sudo permissions and an ssh key on the remote host (with something like cloud-init), and you want to add a file to /etc/ for a service that needs to be owned by a specific user. If your regular user doesn't have permission to write to /etc/, you need a way to escalate their permissions.

This would also be important for removing or editing the file.

@spott spott added kind/enhancement Improvements or new features needs-triage Needs attention from the triage team labels Sep 30, 2022
@lblackstone lblackstone added kind/enhancement Improvements or new features and removed needs-triage Needs attention from the triage team kind/enhancement Improvements or new features labels Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Improvements or new features
Projects
None yet
Development

No branches or pull requests

2 participants