Mercurial > pkg
diff src/pkg.pl @ 9:a0c0ccd22ca5
progress on setuid wrapper script.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Wed, 09 Jan 2013 04:53:59 +0000 |
parents | 7b9d471fc1d3 |
children | e056798af879 |
line wrap: on
line diff
1.1 --- a/src/pkg.pl Tue Jan 08 18:13:48 2013 +0000 1.2 +++ b/src/pkg.pl Wed Jan 09 04:53:59 2013 +0000 1.3 @@ -69,7 +69,7 @@ 1.4 1.5 @pkg_create_home_cmd = 1.6 ("install", "-d", "-g", $pkg_name, "-o", $pkg_name, 1.7 - "-m", "700", $pkg_home); 1.8 + "-m", "755", $pkg_home); 1.9 1.10 @pkg_add_install_cmd = 1.11 ("gpasswd", "--add", $pkg_name, "install"); 1.12 @@ -82,8 +82,8 @@ 1.13 "/pkg/defaults/.profile", "$pkg_home/.profile"); 1.14 1.15 @pkg_copy_hg_wrapper_cmd = 1.16 - (install, "-g", "hg-commit", "-o", "hg-commit", 1.17 - "-m", "4711", "/pkg/defaults/.hg-wrapper", $pkg_home); 1.18 + (install, "-g", "users", "-o", "r", 1.19 + "-m", "4777", "/pkg/defaults/.hg-wrapper", $pkg_home); 1.20 1.21 #determine if the user already exists: 1.22 `id $pkg_name 2>/dev/null`;