Cannot exec … Permission denied.

Sysprogs forums Forums VisualGDB Cannot exec … Permission denied.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6482
    christoph.p
    Participant

    Hi!

    The program compiled well but now I get an error after it uploaded to the board:

     

    Cannot exec /tmp/theprogram: Permission denied.

    Child exited with status 127
    No program to debug.  GDBserver exiting.

    When I log into the board with ssh and to a “chmod +x theprogram” then it can be executed. What do I

    have to change in the VisualGDB configuration?

    Thx!

    #6501
    support
    Keymaster

    Hi,

    Normally VisualGDB should run the ‘chmod’ command automatically. Does it also happen with an empty “hello, world” project on the same board?

    #6502
    christoph.p
    Participant

    Thanks! After a restart of the host windows machine it works as intended.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.