From 1d3b6f28c9aa8cf91b4f2f644ceeff01352c5b0b Mon Sep 17 00:00:00 2001 From: joey Date: Fri, 21 Jul 2000 00:05:35 +0000 Subject: r360: * Never refer to root, always uid/gid "0". Closes: #67508 --- dh_installcron | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'dh_installcron') diff --git a/dh_installcron b/dh_installcron index 7f23bc45..47ef6943 100755 --- a/dh_installcron +++ b/dh_installcron @@ -11,8 +11,7 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) { $cron=pkgfile($PACKAGE,"cron.$type"); if ($cron) { if (! -d "$TMP/etc/cron.$type") { - doit("install","-o","root","-g","root","-d", - "$TMP/etc/cron.$type"); + doit("install","-o",0,"-g",0,"-d","$TMP/etc/cron.$type"); } doit("install",$cron,"$TMP/etc/cron.$type/$PACKAGE"); } @@ -21,8 +20,7 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) { $cron=pkgfile($PACKAGE,"cron.d"); if ($cron) { if (! -d "$TMP/etc/cron.d") { - doit("install","-o","root","-g","root","-d", - "$TMP/etc/cron.d"); + doit("install","-o",0,"-g",0,"-d","$TMP/etc/cron.d"); } doit("install","-m",644,$cron,"$TMP/etc/cron.d/$PACKAGE"); } -- cgit v1.2.3