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

The "config" command doesn't remove temporary files. #66

Open
robertselberg opened this issue Feb 9, 2021 · 0 comments
Open

The "config" command doesn't remove temporary files. #66

robertselberg opened this issue Feb 9, 2021 · 0 comments

Comments

@robertselberg
Copy link

The following temporary file is not deleted when using the config command with the move argument.
https://github.com/legatoproject/legato-af/blob/master/framework/tools/target/linux/config/config.c#L1060

Example:
~# ls -la /tmp/configExport-*
ls: /tmp/configExport-: No such file or directory
~# config move /tmp2 /tmp
~# ls -la /tmp/configExport-

-rw-rw-rw- 1 root root 4315 Jan 1 04:34 /tmp/configExport-DaNeaL

I have tested this on Legato version 19.11.2 and as you can see, the function doesn't contain any fix since this release.
https://github.com/legatoproject/legato-af/blob/19.11-release/framework/tools/target/linux/config/config.c#L1060
https://github.com/legatoproject/legato-af/blob/master/framework/tools/target/linux/config/config.c#L1060

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