diff src/system-init.pl @ 20:c75924bd38e3

fix security hole relating to path for package user.
author Robert McIntyre <rlm@mit.edu>
date Thu, 10 Jan 2013 04:25:17 +0000
parents 4fbe69d24a9c
children d46aeb3166d0
line wrap: on
line diff
     1.1 --- a/src/system-init.pl	Wed Jan 09 12:32:58 2013 +0000
     1.2 +++ b/src/system-init.pl	Thu Jan 10 04:25:17 2013 +0000
     1.3 @@ -126,8 +126,10 @@
     1.4  
     1.5  $pwd = getcwd;
     1.6  execute("gpasswd --add hg-committer hg-wheel");
     1.7 -execute("ln -sfv $pwd/profile  /pkg/hg-committer/.profile");
     1.8 -execute("ln -sfv $pwd/hg-wrapper /pkg/hg-committer/.hg-wrapper");
     1.9 +execute("ln -sf $pwd/profile  /pkg/hg-committer/.profile");
    1.10 +execute("ln -sf $pwd/hg-wrapper /pkg/hg-committer/");
    1.11 +execute("ln -sf `which hg` /pkg/hg-committer/");
    1.12  
    1.13  
    1.14  
    1.15 +