Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt using ssh connection to debug embedded device:"Permission denied"
QtWS25 Last Chance

Qt using ssh connection to debug embedded device:"Permission denied"

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
5 Posts 3 Posters 680 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rwetfer
    wrote on last edited by aha_1980
    #1

    When i debug the project,i got this:

    17:00:25: Running steps for project QTEST4...
    17:00:25: Configuration unchanged, skipping qmake step.
    17:00:25: Starting: "/usr/bin/make" -j8
    make: Nothing to be done for 'first'.
    17:00:25: The process "/usr/bin/make" exited normally.
    17:00:25: The remote file system has 24741 megabytes of free space, going ahead.
    17:00:25: Deploy step finished.
    17:00:25: Trying to kill "/opt/QTEST4/bin/QTEST4" on remote device...
    17:00:26: Remote application killed.
    17:00:26: Deploy step finished.
    17:00:26: 1 file(s) need to be uploaded.
    17:00:26: sftp> -mkdir /
    
    17:00:26: sftp> -mkdir /opt
    
    17:00:26: sftp> -mkdir /opt/QTEST4
    
    17:00:26: sftp> -mkdir /opt/QTEST4/bin
    
    17:00:26: sftp> put /home/rwetfer/projects/QT_ZYNQ/QTEST4/build-QTEST4-zynqQT5_11_3-Debug/QTEST4 /opt/QTEST4/bin/QTEST4
    
    17:00:26: File transfer failed: Couldn't create directory: Failure
    Couldn't create directory: Failure
    Couldn't create directory: Permission denied
    Couldn't create directory: Permission denied
    remote open("/opt/QTEST4/bin/QTEST4"): Permission denied
    
    17:00:26: Deploy step failed.
    Error while building/deploying project QTEST4 (kit: zynqQT5.11.3)
    When executing step "Upload files via SFTP"
    17:00:26: Elapsed time: 00:01.
    

    the device's rootfs already have the dir .why qt-creator stil mkdir ?How to solve it?
    thanks!

    R aha_1980A 2 Replies Last reply
    0
    • R rwetfer

      When i debug the project,i got this:

      17:00:25: Running steps for project QTEST4...
      17:00:25: Configuration unchanged, skipping qmake step.
      17:00:25: Starting: "/usr/bin/make" -j8
      make: Nothing to be done for 'first'.
      17:00:25: The process "/usr/bin/make" exited normally.
      17:00:25: The remote file system has 24741 megabytes of free space, going ahead.
      17:00:25: Deploy step finished.
      17:00:25: Trying to kill "/opt/QTEST4/bin/QTEST4" on remote device...
      17:00:26: Remote application killed.
      17:00:26: Deploy step finished.
      17:00:26: 1 file(s) need to be uploaded.
      17:00:26: sftp> -mkdir /
      
      17:00:26: sftp> -mkdir /opt
      
      17:00:26: sftp> -mkdir /opt/QTEST4
      
      17:00:26: sftp> -mkdir /opt/QTEST4/bin
      
      17:00:26: sftp> put /home/rwetfer/projects/QT_ZYNQ/QTEST4/build-QTEST4-zynqQT5_11_3-Debug/QTEST4 /opt/QTEST4/bin/QTEST4
      
      17:00:26: File transfer failed: Couldn't create directory: Failure
      Couldn't create directory: Failure
      Couldn't create directory: Permission denied
      Couldn't create directory: Permission denied
      remote open("/opt/QTEST4/bin/QTEST4"): Permission denied
      
      17:00:26: Deploy step failed.
      Error while building/deploying project QTEST4 (kit: zynqQT5.11.3)
      When executing step "Upload files via SFTP"
      17:00:26: Elapsed time: 00:01.
      

      the device's rootfs already have the dir .why qt-creator stil mkdir ?How to solve it?
      thanks!

      R Offline
      R Offline
      rwetfer
      wrote on last edited by
      #2
      This post is deleted!
      1 Reply Last reply
      0
      • R rwetfer

        When i debug the project,i got this:

        17:00:25: Running steps for project QTEST4...
        17:00:25: Configuration unchanged, skipping qmake step.
        17:00:25: Starting: "/usr/bin/make" -j8
        make: Nothing to be done for 'first'.
        17:00:25: The process "/usr/bin/make" exited normally.
        17:00:25: The remote file system has 24741 megabytes of free space, going ahead.
        17:00:25: Deploy step finished.
        17:00:25: Trying to kill "/opt/QTEST4/bin/QTEST4" on remote device...
        17:00:26: Remote application killed.
        17:00:26: Deploy step finished.
        17:00:26: 1 file(s) need to be uploaded.
        17:00:26: sftp> -mkdir /
        
        17:00:26: sftp> -mkdir /opt
        
        17:00:26: sftp> -mkdir /opt/QTEST4
        
        17:00:26: sftp> -mkdir /opt/QTEST4/bin
        
        17:00:26: sftp> put /home/rwetfer/projects/QT_ZYNQ/QTEST4/build-QTEST4-zynqQT5_11_3-Debug/QTEST4 /opt/QTEST4/bin/QTEST4
        
        17:00:26: File transfer failed: Couldn't create directory: Failure
        Couldn't create directory: Failure
        Couldn't create directory: Permission denied
        Couldn't create directory: Permission denied
        remote open("/opt/QTEST4/bin/QTEST4"): Permission denied
        
        17:00:26: Deploy step failed.
        Error while building/deploying project QTEST4 (kit: zynqQT5.11.3)
        When executing step "Upload files via SFTP"
        17:00:26: Elapsed time: 00:01.
        

        the device's rootfs already have the dir .why qt-creator stil mkdir ?How to solve it?
        thanks!

        aha_1980A Offline
        aha_1980A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @rwetfer please show your .pro file.

        Regards

        Qt has to stay free or it will die.

        1 Reply Last reply
        1
        • R Offline
          R Offline
          rwetfer
          wrote on last edited by
          #4

          thanks. solved.

          Pablo J. RoginaP 1 Reply Last reply
          0
          • R rwetfer

            thanks. solved.

            Pablo J. RoginaP Offline
            Pablo J. RoginaP Offline
            Pablo J. Rogina
            wrote on last edited by
            #5

            @rwetfer said in Qt using ssh connection to debug embedded device:"Permission denied":

            solved.

            would you mind sharing how you solved?
            It may help others facing same situation...

            And in any case, please don't forget to mark your post as solved!

            Upvote the answer(s) that helped you solve the issue
            Use "Topic Tools" button to mark your post as Solved
            Add screenshots via postimage.org
            Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved