Open vmkalbskopf opened 3 years ago
Hello, I digged a bit into it and it seems related to the SSH/SFTP library not returning files permission anymore, so the library defaults back to 644. I had to update the dependency version recently due to a security issue of the library and I am now facing some troubles. I'll try to work it out again but I can't promise anything...any help appreciated!
Oh man! That sounds very frustrating. Unfortunately I don't have any experience with this, so I can't help. I'll just add a permission change when I am executing the script server side. A hack, but good enough for now.
I submitted a bug here: https://github.com/mscdex/ssh2/issues/1073
Is that useful?
well we'll discover soon, I'll try to add asap some technical context to your issue
Sorry for jumping ahead of you :-|
no problem. I just tested the original package and:
Of course if you switch to ftp-remote-edit you wont have the benefit of folders anymore, your choice!
Yes, I've noticed the slow-down as well. I guess the api has changed a lot. Good luck my friend!
When editing a script on the remote server (linux) using this module on my laptop (mac os), the execution permission of the file is not preserved. I have tested this by creating a new file on the server (using vim) and making it executable. Then I edit the file using atom. The executable permission is lost.
I have tried deleting the server. I am also using the same user on the server and in the server settings.
I have changed the file attribute settings using the dialog provided by the package. But as soon as I save the file, it changes back to this:
I have tried putting in
x
s but it throws this error: