-
Notifications
You must be signed in to change notification settings - Fork 962
Description
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" |
tflite-micro/tensorflow/lite/micro/tools/make/ext_libs/eyalroz_printf_download.sh
Line 50 in 9b79b9f
| 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