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

How do I preserve the mode permission of a file with scp_upload #65

Closed
yli110-stat697 opened this issue Jun 23, 2023 · 1 comment
Closed

Comments

@yli110-stat697
Copy link

yli110-stat697 commented Jun 23, 2023

Hi,

When I am using the scp_upload function, it changed my file permission from 770 to 650 on the remote server. I tried the scp -p in terminal and I was able to preserve the mode, but scp_upload doesn't seem to have such an argument to preserve the mode permission?

@jeroen jeroen closed this as completed in e58d1a1 Jun 26, 2023
@jeroen
Copy link
Member

jeroen commented Jun 26, 2023

I have made a change that tries to retain the file persmissions. Can you try again? You can install the latest version from https://ropensci.r-universe.dev/ssh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants