Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cratajczak-EMM opened this issue Jan 27, 2025 · 0 comments

Comments

@cratajczak-EMM
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant