[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug in cron postinst

Steve Greenland wrote:
>     for ct in * ; do
>         chown $ct:crontab $ct
>     done

This will also fail with usernames that include spaces. I'm sure you
already have a solution, but I'd go with something like this:

find /var/spool/crontab -maxdepth 1 -type f -print | while read ct; do


Reply to: