Skip to content

permission denied on ARMv7 #1211

Closed
Closed

Description

  • VSCode Version: Insiders
  • Local OS Version: Windows
  • Remote OS Version: 3.18.71
  • Remote Extension/Connection Type: SSH

Steps to Reproduce:

  1. Run the server.sh locally on my target

Does this issue occur when you try this locally?: Yes
Does this issue occur when you try this locally and all extensions are disabled?: Yes

This is the log:

[09:01:53.903] [email protected]
[09:01:53.903] win32 x64
[09:01:53.904] SSH Resolver called for "ssh-remote+alias", attempt 1
[09:01:53.904] SSH Resolver called for host: alias
[09:01:53.904] Setting up SSH remote "alias"
[09:01:53.917] Using commit id "c8d44e24dd250d416475a10efe64e35c9e2c65b3" and quality "insider" for server
[09:01:53.919] Testing ssh with ssh -V
[09:01:53.973] ssh exited with code: 0
[09:01:53.973] Got stderr from ssh: OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5
[09:01:53.973] Running script with connection command: ssh -o ClearAllForwardings=true alias bash
[09:01:53.974] Install and start server if needed
[09:01:54.119] > 
[09:01:54.119] Got some output, clearing connection timeout
[09:01:54.277] > [email protected]'s password:
[09:01:59.933] "install" wrote data to terminal: "**********"
[09:01:59.967] > 
> 
[09:02:00.118] > Running remote connection script
> 
[09:02:00.155] > Acquiring lock on /home/root/.vscode-server-insiders/bin/c8d44e24dd250d416475a10
> efe64e35c9e2c65b3/vscode-remote-lock.c8d44e24dd250d416475a10efe64e35c9e2c65b3
> 
[09:02:00.244] > Found existing installation at /home/root/.vscode-server-insiders/bin/c8d44e24dd
> 250d416475a10efe64e35c9e2c65b3...
> 
[09:02:00.342] > SSH_CONNECTION=192.168.225.29 50795 192.168.225.1 22
> USER=root
> PWD=/home/root
> HOME=/home/root
> SSH_CLIENT=192.168.225.29 50795 22
> MAIL=/var/mail/root
> SHELL=/bin/sh
> SHLVL=2
> VSCODE_AGENT_FOLDER=/home/root/.vscode-server-insiders
> LOGNAME=root
> PATH=/usr/bin:/bin:/usr/sbin:/sbin
> _=/bin/printenv
> Starting server...
> Waiting for server log...
> 
[09:02:00.904] > Waiting for server log...
> 
[09:02:01.428] > Waiting for server log...
> 
[09:02:01.966] > Waiting for server log...
> 
[09:02:02.490] > Waiting for server log...
> 
[09:02:03.022] > Waiting for server log...
> 
[09:02:03.555] > Waiting for server log...
> 
[09:02:04.062] > 
> *
> * Reminder: You may only use this software with Visual Studio family products,
> * as described in the license (https://go.microsoft.com/fwlink/?linkid=2077057)
> *
> 
> 
[09:02:04.124] > Server did not start successfully. Full server log >>>
> bash: line 210: /home/root/.vscode-server-insiders/bin/c8d44e24dd250d416475a10ef
> e64e35c9e2c65b3/server.sh: Permission denied
> <<< End of server log

Activity

  1. added
    ssh
    on Aug 20, 2019
  2. noomio commented on Aug 27, 2019

    @noomio
    Author

    Hi,

    It was a mount that had no_exec option. Check if the user is able to execute commands.
    I also found out that this will not work on ARM devices and better to use this approach:

    https://github.com/OmniSharp/omnisharp-vscode/wiki/Remote-Debugging-On-Linux-Arm

  3. roblourens commented on Sep 9, 2019

    @roblourens
    Member

    Nikolas Karakotas (@noomio) is it just your user directory that is mounted with no_exec? Could the script be executed from /tmp? I don't follow how that remote debugging method actually works.

  4. added
    info-needed
    on Sep 9, 2019
  5. noomio commented on Sep 10, 2019

    @noomio
    Author

    roblourens yes it can be executed from /tmp. Hoever it prompts afterwards platform not supported.
    I discovered even though once I could execute the linux arm 32 bit platform isnt supported so I switched to framework dependent deployment. See the link above I posted.

  6. locked and limited conversation to collaborators on Oct 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    info-neededssh

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions