STM32CubeMX install on Ubuntu 22.04: "Error executing /bin/chmod"
I am trying to install STM32CubeMX-6.10.0 on Ubuntu 22.04.
Following the instructions, I have unzipped the installation ZIP archive and changed the permissions for SetupSTM32CubeMX-6.10.0 to be executable. I have also made all files in jre/bin/ executable.
I then run SetupSTM32CubeMX-6.10.0 from my home directory and pick an installation directory in my home folder, but during step 1/7 of the installation, it fails with an error:
"Error executing /bin/chmod a+x /home/magnusl/STM32CubeMX/STM32CubeMX"
I have tried running the installation as sudo and I get the same error. I have also tried to manually run
/bin/chmod a+x /home/magnusl/STM32CubeMX/STM32CubeMX
and it works fine. But if I restart the installation script after this, it complains that STM32CubeMX is already running, so I cannot make it continue unless I delete the whole directory and then I'm back on square 0.
Does anyone have an idea on how to solve or work around this problem?
