Open BernierCR opened 5 years ago
+1
I confirm same problem. EC2 instance on AWS. I connect under one name and then I have to change it with su or use sudo, or I have to reset all files to that user.
I'd love this feature as well. Is there no workaround? I can't figure out any way to send sudo when using sftp on vscode. So, permission denied on all uploads
I have same problem. I tried 'sudo su -' command in 'sshCustomParams' parameter but It doesn't work.
non-working examples
"sshCustomParams": "sudo su -;"
"sshCustomParams": "\"cd \"${remotePath}\"; exec \\$SHELL -l\";sudo su -;"
+1
+1
Yes please.
Yes!
I found the solution.
Just change the directory's permission and done.
I found the solution.
Just change the directory's permission and done.
This is not a solution but security thread. In most cases people have those permissions on purpose.
Hello,
"sshCustomParams": "sudo su -;",
works for me!
Adding to the documentation.
That solution is not working for me...
Anyway, when I'm logged using SSH and I prepend the "sudo" before the commands works. Do you know how can I adjust this param (sshCustomParams) simply to do that?
Thanks in advance!
Is this a similar or duplicate feature request?
Is your feature request related to a problem? Please describe. My project directory is mounted on an EBS volume which is only accessible through root. I don't think they want me changing this.
Describe the solution you'd like Is there a way for this extension to run sudo and gain root access, so that it can see my files? This is unusable for me without such a feature.
Describe alternatives you've considered I don't know of any alternatives.
Does this project help you?