Permissions in pynrfjprog are broken

Hello, we came across a recurring issue:

There are no executable permission for Linux + macOS for the packed binary:

  • jlinkarm_nrf_worker_linux
  • jlinkarm_nrf_worker_osx

The issue was fixed in pynrfjprog v10.15.2, but returned back in v10.15.4.

As a result, the interaction with pynrfjprog ends up with this log:

An error was reported by NRFJPROG DLL: -254 INTERNAL_ERROR.

Using the extended logging, we got the message:

execve failed: Permission denied

(This gave us the clue what the problem is as we have traced it down before)

Side note: We assume there is a lack of continuous integration on pynrfjprog repository and the deployment today is a rather manual process? We suggest setting up an automated pipeline in order to avoid such repetitive issues in the future.

Parents Reply
  • Re-reading this discussion again, I think there is a misunderstanding between us. I wanted to set executable bit just to these two binaries listed in my original report:

    • jlinkarm_nrf_worker_linux
    • jlinkarm_nrf_worker_osx

    I did not intend to give executable bits on all files in the folder - of course, that would be a plain wrong approach. Can you please re-evaluate this thread and come back to me? Thanks. P.

Children
No Data
Related