Skip to main content
Andrew Neil
Super User
Jan 5, 2021 4:02 PM UTC
Question

Can't close Lab projects - File access rights

During the workshop itself, I had some problems with some of the example files not having correct access rights to allow the workshop changes to be made.

We worked around that during the workshop.

Now I have just come back to the STM32Cube IDE; it started up with the last 2 workshop projects still open (as would be expected). But when I tried to close these projects, I got the following errors:

0693W000006HauSQAS.png0693W000006HauwQAC.png 

It seems that the whole workshop folder tree was installed with only 'Read' access for Users:

0693W000006Hb0kQAC.png 

Giving 'Full Control' stopped the problems:

0693W000006Hb2WQAS.png0693W000006Hb2qQAC.pngHopefully this will be of help if anyone else is having the same problem.

But the question remains: why did the stuff get installed with these inappropriate settings?

This is on a standalone Win10-Pro.

    This topic has been closed for replies.

    4 replies

    Jocelyn RICARD
    ST Employee
    Jan 7, 2021 7:31 AM UTC

    Hello Andrew,

    After creating any directory you get this behavior. I mean : creator owner can modify whereas Users can only read.

    So, I guess you didn't use the same user account between package installation and usage.

    Is that the case?

    Best regards

    Jocelyn

    Andrew Neil
    Super User
    Jan 15, 2021 10:39 AM UTC

    No, I used exactly the same account for installing and using - that's the strange part.

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    Andrew Neil
    Super User
    Jan 15, 2021 11:07 AM UTC

    I've just downloaded the latest STM32CubeIDE, and installed it.

    Now I'm getting the same again:

    0693W000007BQ60QAG.pngAgain: downloaded, extracted, and installed all with the same login.

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    Jocelyn RICARD
    ST Employee
    Jan 18, 2021 1:05 PM UTC

    Hello Andrew,

    your issue seems related to a specific Windows policy.

    I would suggest checking this with your IT

    Best regards

    Jocelyn