liximomo / vscode-sftp

Super fast sftp/ftp extension for VS Code
MIT License
1.51k stars 265 forks source link

Sudo #559

Open BernierCR opened 5 years ago

BernierCR commented 5 years ago

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?

davidcsi commented 5 years ago

+1

Serhioromano commented 5 years ago

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.

buildpath-ian commented 5 years ago

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

evrend commented 4 years ago

I have same problem. I tried 'sudo su -' command in 'sshCustomParams' parameter but It doesn't work.

non-working examples

andreastkdf commented 4 years ago

+1

VigneshPT commented 4 years ago

+1

nulkode commented 3 years ago

Yes please.

modernmediagrp commented 3 years ago

Yes!

nulkode commented 3 years ago

I found the solution.

Just change the directory's permission and done.

Serhioromano commented 3 years ago

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.

Yevhen-development commented 3 years ago

Hello, "sshCustomParams": "sudo su -;", works for me!

ghost commented 3 years ago

Adding to the documentation.

lobato84 commented 6 months ago

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!