iceoryx2 icon indicating copy to clipboard operation
iceoryx2 copied to clipboard

Temp files on Windows

Open gyk opened this issue 11 months ago • 2 comments

  • Consider using std::env::temp_dir() for temp files, as it is the standard location. However, ANSI APIs may not play well with some usernames.
  • Consider relaxing the initial privileges for temp files. Currently admin privileges are required for removing some of them, so the program itself cannot clean up the resources after being ended in task manager.

gyk avatar Jan 09 '25 09:01 gyk

@gyk

However, ANSI APIs may not play well with some usernames.

This is why we initially decided against it and used C:\Temp. But you can override the default folder via the iceoryx2 config and choose whatever you want, see https://github.com/eclipse-iceoryx/iceoryx2/tree/main/config

Consider relaxing the initial privileges for temp files.

This makes sense! We will look into it.

elfenpiff avatar Jan 09 '25 10:01 elfenpiff

Thanks! Didn't know it is configurable.

gyk avatar Jan 09 '25 11:01 gyk