On Thu, 24 Jun 2004 20:13, steve wrote: > Dave G wrote: > >Hi all > > > >I'm getting the following error when cron daily runs, no luck so far at > > fixing the checkrr error, any ideas?? > > > >/etc/cron.daily/smail: > >expr: warning: unportable BRE: `^uid=0(root)': using `^' as the first > >character > >of the basic regular expression is not portable; it is being ignored > >checkerr: ERROR: you must be root to do this! > > Hi Dave, > > You don't need an ^ in an expression to anchor it to the start of the > line. 0 wild characters/patterns at the start of the expression does > this for you. > > Does this make sense in your case? > > Steve
thanks Steve, The ^ was auto-configured during install (I think that is the correct way to put it) not by me, not sure why. I have manually edited it out and fixed the first part of the error but sill get the /....."> >checkerr: ERROR: you must be root to do this!" bit?? cheers..............dave -- cheers................dave Mail to: "[EMAIL PROTECTED]" _____________________________________________ KMail 1.6.2 using Kontact - KDE Desktop 3.2.2 Mepis Linux - Kernel 2.4.22 (i686) _____________________________________________