fprime
fprime copied to clipboard
fprime-gds: default file downlink directory can overwrite files
| F´ Version | v3.4.3 |
| Affected Component | n/a |
Feature Description
Have GDS created a time-tag directory for file downlinks.
Make the default be logs/<time tag>/fprime-downlink to match telemetry and events.
Also, make a separate argument for uplink and downlink. It makes sense to automatically separate downlinked files, but uplink may wish to be in a common store.
Rationale
The default /tmp/username (or even overridden with --file-storage-directory) directory for file downlinks can cause new instances to overwrite older files, or cause parallel instances to clobber each other.
Also discussed in https://github.com/nasa/fprime/issues/2658#issuecomment-2035578624