ugexe / zef

Raku Module Management
Artistic License 2.0
207 stars 45 forks source link

Avoid permission issues with sharing $*TMPDIR with other users #511

Closed ugexe closed 1 year ago

ugexe commented 1 year ago

At one point we moved the temp directory zef used from $*HOME/.zef/tmp to $*TMPDIR/.zef. However, this meant the temp directories started to be the same for different users, and thus permissions issues could arise. This changes the temp directory to $*TMPDIR/.zef/$time.$pid, and adds the config logic for interpolating {time} and $*PID.

Fixes #510