diff src/system-init.pl @ 25:d956ace7380e

creating pkg-examine.
author Robert McIntyre <rlm@mit.edu>
date Thu, 10 Jan 2013 15:12:34 +0000
parents 4d1bc23e4d09
children 5caff062fd36
line wrap: on
line diff
     1.1 --- a/src/system-init.pl	Thu Jan 10 12:49:52 2013 +0000
     1.2 +++ b/src/system-init.pl	Thu Jan 10 15:12:34 2013 +0000
     1.3 @@ -121,18 +121,19 @@
     1.4      execute("useradd -c hg-committer -d /pkg/hg-committer -g hg-committer -s /bin/bash hg-committer");
     1.5  }
     1.6  
     1.7 -execute("chown -Rv hg-committer:hg-wheel /.hg");
     1.8 +execute("chown -Rv root:root /.hg");
     1.9  
    1.10  $pwd = getcwd;
    1.11  execute("gpasswd --add hg-committer hg-wheel");
    1.12  execute("gpasswd --add hg-committer users");
    1.13 +execute("gpasswd --add hg-committer install");
    1.14  execute("ln -sf $pwd/profile  /pkg/hg-committer/.profile");
    1.15  execute("ln -sf $pwd/hg-wrapper /pkg/hg-committer/");
    1.16  execute("ln -sf $pwd/save-acls /pkg/hg-committer/");
    1.17  execute("ln -sf `which hg` /pkg/hg-committer/");
    1.18  
    1.19 -execute("install -o hg-committer -g hg-wheel -m 660 $pwd/hgignore /.hgignore"); 
    1.20 -execute("install -o hg-committer -g hg-wheel -m 660 $pwd/hgrc /.hg/"); 
    1.21 +execute("install -o root -g root -m 660 $pwd/hgignore /.hgignore"); 
    1.22 +execute("install -o root -g root -m 660 $pwd/hgrc /.hg/"); 
    1.23  
    1.24  
    1.25