diff options
author | joey <joey> | 2000-07-21 00:05:35 +0000 |
---|---|---|
committer | joey <joey> | 2000-07-21 00:05:35 +0000 |
commit | 1d3b6f28c9aa8cf91b4f2f644ceeff01352c5b0b (patch) | |
tree | b97fbc3f1952865924b664be1b750f6ba2fd2e0a /dh_installdebconf | |
parent | a7afc7fccd48b73037a32e511a219016ba9fee17 (diff) |
r360: * Never refer to root, always uid/gid "0". Closes: #67508
Diffstat (limited to 'dh_installdebconf')
-rwxr-xr-x | dh_installdebconf | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dh_installdebconf b/dh_installdebconf index 82d69d01..ccf3074a 100755 --- a/dh_installdebconf +++ b/dh_installdebconf @@ -11,11 +11,11 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) { $templates=pkgfile($PACKAGE,"templates"); if (! -d "$TMP/DEBIAN") { - doit("install","-o","root","-g","root","-d","$TMP/DEBIAN"); + doit("install","-o",0,"-g",0,"-d","$TMP/DEBIAN"); } if ($config ne '') { - doit("install", "-o", "root", "-g", "root", "-m", 755, "-p", + doit("install", "-o", 0, "-g", 0, "-m", 755, "-p", $config, "$TMP/DEBIAN/config"); } @@ -28,7 +28,7 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) { chown 0, 0, "$TMP/DEBIAN/templates"; } else { - doit("install", "-o", "root", "-g", "root", "-m", 644, "-p", + doit("install", "-o", 0, "-g", 0, "-m", 644, "-p", $templates, "$TMP/DEBIAN/templates"); } } |