
morgan pushed to branch main at The Tor Project / Applications / RBM Commits: f04c4f21 by Nicolas Vigier at 2025-03-27T14:37:06+01:00 Bug 40083: Make remote_mktemp create directory with mode 0755 In order to make the permission on out/$project be 0755 (see tor-browser-build#41418), change the permission to 0755 on directories created by `remote_mktemp`. - - - - - 1 changed file: - lib/RBM.pm Changes: ===================================== lib/RBM.pm ===================================== @@ -1209,7 +1209,8 @@ sub build_run { $cmd = project_config($project, "remote_exec", { %$options, exec_cmd => project_config($project, - "remote_mktemp", $options) || 'mktemp -d -p /var/tmp', + "remote_mktemp", $options) || + 'tmpdir=$(mktemp -d -p /var/tmp); chmod 0755 "$tmpdir"; echo "$tmpdir"', exec_name => 'mktemp', exec_as_root => 0, }); View it on GitLab: https://gitlab.torproject.org/tpo/applications/rbm/-/commit/f04c4f217ad8dbd0... -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/rbm/-/commit/f04c4f217ad8dbd0... You're receiving this email because of your account on gitlab.torproject.org.
participants (1)
-
morgan (@morgan)