cpac creates directories that it expects before binding them (so the directories will be created/owned by the user running cpac), but sometimes those directories are empty by the time cpac is done, especially if running utilities.
Proposed feature
Keep track of directories created by cpac, and in the cleanup phase, delete any that are empty.
Acceptance criteria
[ ] empty directories created by cpac do not persist once cpac exits
Related problem
cpac
creates directories that it expects before binding them (so the directories will be created/owned by the user runningcpac
), but sometimes those directories are empty by the timecpac
is done, especially if running utilities.Proposed feature
Keep track of directories created by
cpac
, and in the cleanup phase, delete any that are empty.Acceptance criteria
cpac
do not persist oncecpac
exitsAlternatives
No response
Additional context
No response