Message boards : Server programs : boinc application faild to run execlp(): permission denied
Message board moderation
Author | Message |
---|---|
Send message Joined: 3 Jun 08 Posts: 40 |
Hello everyone, My boinc application (for linux) has an execlp() function inside the code to call another perl file in the same folder for the task. I tried many times and finally found out that this execlp() functino was permission denied which caused the whole application failed. The permission problem still exists even after I tried 'chmod 777 /usr/bin/boingmr' in the client side and invoke './boincmgr' by root in client. It is obvious that when the application was downloaded from the server, it was assigned limited permission in the client side. I am not sure whether I could assign executing permission for the application when it was downloaded from the server , or I have no way to execute execlp() but have to put all code inside one executable file in this case. Any idea is well apprecaited. thanks! Kunsheng |
Send message Joined: 3 Jun 08 Posts: 40 |
This is fixed. You have to specify the file in execlp() to be executable , boinc doesn't take care of it if it is not an executable file ( files such as .pl, sh) |
Copyright © 2025 University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.