Qt using ssh connection to debug embedded device:"Permission denied"
Unsolved
Mobile and Embedded
-
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! -
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! -
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! -
@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!