Permissions Lost [SOLVED] [message #504101] |
Thu, 17 December 2009 04:23  |
Eclipse User |
|
|
|
I have an ssh/sftp remote connection that otherwise seems to work fine. It can launch terminals, browse the folder tree etc etc.
However, if I either drag an executable file into the remote file tree (from the local one) or I set up a "C/C++ Remote Application" which downloads the binary first it will copy the file ok, but fail to set the permission bits (defaults everything back to 644).
If I then log in and manually set the permission bits to 755, it then runs fine.
I don't know if this is also meaningful, but the error message from eclipse when it tries to run this c/c++ remote application is a file upload error (nothing explicit).
Scp/sftp'ing directly from my host to the embedded board doesn't have this problem.
Any ideas how to solve this?
Cheers.
[Updated on: Thu, 17 December 2009 15:22] by Moderator
|
|
|
|
Re: Permissions Lost [message #504269 is a reply to message #504101] |
Thu, 17 December 2009 20:22  |
Eclipse User |
|
|
|
Ok, barked totally up the wrong tree on this one....
Turned out it was just an incomplete path under the "Remote Absolute File Path for C/C++ Application" box. I supplied the directoriy, not the full pathname to the copied binary.
i.e. /home/yujin needed to be /home/yujin/hello.
Just in case anyone else has this issue.
|
|
|
Powered by
FUDForum. Page generated in 0.71482 seconds