<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch release-2.9
in repository macports-base.
</pre>
<p><a href="https://github.com/macports/macports-base/commit/edf36314c50b62b2e1f8a792d8383a67a571651f">https://github.com/macports/macports-base/commit/edf36314c50b62b2e1f8a792d8383a67a571651f</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/release-2.9 by this push:
<span style='display:block; white-space:pre;color:#404040;'> new edf36314c Re-elevate privileges to place work symlink
</span>edf36314c is described below
<span style='display:block; white-space:pre;color:#808000;'>commit edf36314c50b62b2e1f8a792d8383a67a571651f
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Thu Apr 4 09:33:08 2024 +1100
<span style='display:block; white-space:pre;color:#404040;'> Re-elevate privileges to place work symlink
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> (cherry picked from commit 51511c8c44b3f1567388256ad89d86d12aff0d17)
</span>---
src/port1.0/portutil.tcl | 3 +++
1 file changed, 3 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/port1.0/portutil.tcl b/src/port1.0/portutil.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index edc1f0294..db3defb55 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/port1.0/portutil.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/port1.0/portutil.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1824,6 +1824,9 @@ proc open_statefile {args} {
</span> }
# Create a symlink to the workpath for port authors
if {[tbool place_worksymlink] && ![file isdirectory $worksymlink]} {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[getuid] == 0 && [geteuid] != 0} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ elevateToRoot place_worksymlink
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> ui_debug "Attempting ln -sf $workpath $worksymlink"
ln -sf $workpath $worksymlink
}
</pre><pre style='margin:0'>
</pre>