--- /usr/bin/cron-config.old 2008-06-13 10:23:59.239635000 +0100 +++ /usr/bin/cron-config 2008-06-13 10:35:19.380260000 +0100 @@ -368,7 +368,7 @@ cron_table="/var/cron/tabs/${USER}" couldbeFAT=0 - if [ ! -f $cron_table ]; then + if [ ! -f "$cron_table" ]; then echo "WARNING: Your computer does not appear to have a cron table for ${USER}." echo "Please generate a cron table for ${USER} using 'crontab -e'" echo @@ -383,7 +383,7 @@ echo "cron table files need to writable only by the owner," echo "readable by the owner and he group, and executable by no one." echo "The permissions of your cron table file are set to:" - ls -l $cron_table + ls -l "$cron_table" echo echo echo "You can set the file permissions with:" @@ -400,7 +400,7 @@ -a "$username" != "$USER" ]; then echo "The group membership of your cron table file should be ADMINISTRATORS." echo "Here is your cron table file listing:" - ls -l $cron_table + ls -l "$cron_table" echo [ "$couldbeFAT" = 1 ] && echo "This rule does not apply on FAT/FAT32 file systems." @@ -453,10 +453,10 @@ echo ret=1 fi - if [ ! -e /var/cron/tabs/${USER} ]; then + if [ ! -e "/var/cron/tabs/${USER}" ]; then echo "WARNING: You do not currently have a crontab file." echo - elif [ ! -r /var/cron/tabs/${USER} ]; then + elif [ ! -r "/var/cron/tabs/${USER}" ]; then echo "ERROR: Your crontab file is not readable." echo ret=1