
boklm pushed to branch main at The Tor Project / Applications / RBM Commits: 8c5f3899 by Nicolas Vigier at 2025-08-14T11:34:35+02:00 Bug 40087: Set permissions on downloaded files according to umask - - - - - 1 changed file: - lib/RBM/DefaultConfig.pm Changes: ===================================== lib/RBM/DefaultConfig.pm ===================================== @@ -579,9 +579,11 @@ set -e SET rbm_tmp_dir = c("rbm_tmp_dir"); END; -%] -tmpfile="\$(mktemp -p [% shell_quote(rbm_tmp_dir) %])" +tmpdir="\$(mktemp -d -p [% shell_quote(rbm_tmp_dir) %])" +tmpfile="\$tmpdir"/download wget[% IF !c("getting_id") && !c("isatty") %] --no-verbose[% END %] -O"\$tmpfile" [% shell_quote(c("URL")) %] mv -f "\$tmpfile" [% shell_quote(dest_dir _ "/" _ c("filename")) %] +rmdir "\$tmpdir" URLGET sig_ext => [ qw(gpg asc sig) ], enable => 1, View it on GitLab: https://gitlab.torproject.org/tpo/applications/rbm/-/commit/8c5f3899cfe239a7... -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/rbm/-/commit/8c5f3899cfe239a7... You're receiving this email because of your account on gitlab.torproject.org.
participants (1)
-
boklm (@boklm)