Mellanox / bfscripts

Collection of scripts used for BlueField SoC system management.
BSD 2-Clause "Simplified" License
19 stars 27 forks source link

bfsbverify: create temporary folder per user #206

Closed kblaiech closed 9 months ago

kblaiech commented 9 months ago

The 'bfsbverify' command relies on a common temporary folder under /tmp/bfbtmp; when user A executes the command and the temporary folder is left undeleted (because of a failure or because the command execution is interrupted), then user B would fail to execute the command because the bfsbverify won't have the permissions to cleanup the temp directory initially created by user A. Thus address the issue by creating separate temporary foders per user context.

RM #3766115