comparison 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
comparison
equal deleted inserted replaced
19:4fbe69d24a9c 20:c75924bd38e3
124 124
125 execute("chown -Rv hg-committer:hg-wheel /.hg"); 125 execute("chown -Rv hg-committer:hg-wheel /.hg");
126 126
127 $pwd = getcwd; 127 $pwd = getcwd;
128 execute("gpasswd --add hg-committer hg-wheel"); 128 execute("gpasswd --add hg-committer hg-wheel");
129 execute("ln -sfv $pwd/profile /pkg/hg-committer/.profile"); 129 execute("ln -sf $pwd/profile /pkg/hg-committer/.profile");
130 execute("ln -sfv $pwd/hg-wrapper /pkg/hg-committer/.hg-wrapper"); 130 execute("ln -sf $pwd/hg-wrapper /pkg/hg-committer/");
131 execute("ln -sf `which hg` /pkg/hg-committer/");
131 132
132 133
133 134
135