Skip to content

Non-Unique Filenames in /tmp Directory Affecting microlite Compilation #3042

@cratajczak-EMM

Description

@cratajczak-EMM

Hi fellow edge ML fans,

In the scripts below, some files are downloaded to the /tmp directory of the Linux machine with a fixed name defined in the script.

ZIP_PREFIX="5782d6f8057906d360f4b95ec08a2354afe5c9b9"

ZIP_PREFIX="c2c70a97a20fb355815e2ead3d4a40e35a4a3cdf"

ZIP_PREFIX="f8ed5a9bd9fa8384430973465e94aa14c925872d"

ZIP_PREFIX_NN="22080c68d040c98139e6cb1549473e3149735f4d"

This fixed name means the file name is not unique for each compilation. Once the loading is completed, the file is not deleted, leading to issues for any other user who intends to compile the microlite library on their side, since they don't have write access to these files. The files should be deleted at the end of the script or have a unique name per compilation.

While a human user can easily fix it with a sudo command, an Agent or Runner cannot.

Regards

Chris

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions