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_installcron | |
parent | a7afc7fccd48b73037a32e511a219016ba9fee17 (diff) | |
download | debhelper-1d3b6f28c9aa8cf91b4f2f644ceeff01352c5b0b.tar.gz |
r360: * Never refer to root, always uid/gid "0". Closes: #67508
Diffstat (limited to 'dh_installcron')
-rwxr-xr-x | dh_installcron | 6 |
1 files changed, 2 insertions, 4 deletions
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"); } |