vscode-remote-fs icon indicating copy to clipboard operation
vscode-remote-fs copied to clipboard

How to set up super user (sudo)?

Open intmash opened this issue 6 years ago • 2 comments

Hi! Many thanks! Now i can see my sourses by SFTP at RaspberryPi. But i can't create direcrories and files and write them. I'm using WinSCP (SFTP - client). For make possible the write operations, i set up Protocol Option->SFTP server = "sudo su -c /usr/lib/sftp-server" (the WinSCP advansed settings) after that WinSCP can do create/write-file operations.

With RemoteFS i can't do create/write-file operation (i get error message "...no permissions"), please teach me how do that.

intmash avatar Jun 19 '18 11:06 intmash

For reference, this is how the old provider handled it.

jyu00 avatar Oct 03 '23 12:10 jyu00

How should this work with https://github.com/Qiskit/qiskit-ibm-runtime/pull/1100? We already show a warning if the job usage estimation will exceed the monthly quota.

Your current pending jobs are estimated to consume 7.329993678195504 quantum seconds, but you only have 1 

quantum seconds left in your monthly quota; therefore, it is likely this job will be canceled

I guess these are independent and we can still raise an error if the monthly quota or pending jobs limit is already exceeded?

kt474 avatar Oct 04 '23 18:10 kt474

If I have exceeded my monthly quota, it will show an error which should display information on how much I have consumed, what my quota was and when my quota will reset.

@francabrera Since this error message comes from the server, I think the server will need to update the message if you want more information in it.

jyu00 avatar Oct 04 '23 20:10 jyu00

If I have exceeded my monthly quota, it will show an error which should display information on how much I have consumed, what my quota was and when my quota will reset.

@francabrera Since this error message comes from the server, I think the server will need to update the message if you want more information in it.

that's correct!

francabrera avatar Oct 05 '23 12:10 francabrera

I guess these are independent and we can still raise an error if the monthly quota or pending jobs limit is already exceeded?

@kt474 the warning is independent from the error, the error will only happen once you exceeded, the warning happen before you exceeds if we estimate the job may exceed your remaining time.

francabrera avatar Oct 05 '23 12:10 francabrera

ok, so the only work here is

If I have exceeded my pending jobs, ... The code will wait until there is room for a new pending job (with message)

jyu00 avatar Oct 05 '23 13:10 jyu00