[Pkg-shadow-devel] Bug#554170: tiny error in passwd cron script

Mehdi Abaakouk theli48 at gmail.com
Tue Sep 7 06:40:45 UTC 2010


Hi,
In last update of passwd package, the path of copied file are incorrect:

--- /etc/cron.daily/passwd    2010-09-06 11:03:35.000000000 +0200
+++ debian/passwd.cron.daily    2010-09-07 08:02:38.000000000 +0200
@@ -5,5 +5,5 @@
 for FILE in passwd group shadow gshadow; do
         test -f /etc/$FILE              || continue
         cmp -s $FILE.bak /etc/$FILE     && continue
-        cp -p $FILE $FILE.bak && chmod 600 $FILE.bak
+        cp -p /etc/$FILE $FILE.bak && chmod 600 $FILE.bak
 done



good work,
bye

-- 
Mehdi Abaakouk
theli48 at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-shadow-devel/attachments/20100907/fbb83fd4/attachment.htm>


More information about the Pkg-shadow-devel mailing list