wok-next diff remind/receipt @ rev 17391
Up: cookutils (3.4.2)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Nov 27 16:41:05 2014 +0200 (2014-11-27) |
parents | ce9cbd90365a |
children | 9e01bc6321ea |
line diff
1.1 --- a/remind/receipt Mon Aug 25 10:52:38 2014 +0200 1.2 +++ b/remind/receipt Thu Nov 27 16:41:05 2014 +0200 1.3 @@ -40,7 +40,7 @@ 1.4 [ -f $1/home/$i/.reminders ] && continue 1.5 echo -n "Creating config file for $i ..." 1.6 touch $1/home/$i/.reminders 1.7 - chroot $1/ chown $i.users /home/$i/.reminders 1.8 + chroot $1/ chown $(stat -c "%u.%g" $1/home/$i) /home/$i/.reminders 1.9 status 1.10 done 1.11 }