2022-08-11 01:04 AM
I was able to successfully install and launch CubeMX. However, I cannot download the packages. In my case I need the STM32CubeG0 firmware packages. When I download it manually and select "From Local" I get "Failed to create temporary directory". In ~/STMCube/Repository write permissions are granted.
If I start CubeMX as root, then everything works. But I don't want to start CubeMX always as root. How do I fix this problem?
2022-08-11 02:16 AM
Hi @MMett ,
Can you try modifying your default repository FW path to a directory that you are sure to have full write permissions.
Below a screenshot of the CubeMX option allowing you browsing your FW repository.
Then, re-start MX and perform a new FW installation trial.
Let me know your feedback.
Aymen.
2024-07-18 06:45 AM
MMett actually asked about a Linux platform the screen shot you provided is for a Windows platform which is ok-ish if you think the path is actually a unix style path.
But the question remains where exactly the installer/updater is trying to create the temporary directory.
Notes:
I have the same problem trying to install from local zip/pack file
I ended up unzipping directly into the .../repository/ directory
It is a bit of a long process to install/update when the installation is on a networked drive