On Mon, 6 Apr 1998, Randy Carpenter wrote:
> I get the same thing on my Sparc with 4.2... Sent a message about it a
> long time ago, and got no responses...
>
You most like have roots home directory unreadable and unseeable to the
user nobody. When a cron job runs, it starts from the users home
directory. So that message originates from the
/etc/cron.daily/updatedb.con or whatever the script is called. You can
probably modify it so that it will cd to / or /tmp or something before "su
nobody" is done. The other alternative is to "chmod o+x /root" which is
the easy fix (unless you have some security concerns with people able to
cd'ing to /root).
> ____________________________________________________________________
> Randy Carpenter - UNIX Systems Admin First Network Group
> [EMAIL PROTECTED] Wapakoneta, OH
> ____________________________________________________________________
>
>
> On Mon, 6 Apr 1998, kgibson wrote:
>
> > Date: Mon, 6 Apr 1998 17:48:23 -0400 (EDT)
> > From: kgibson <[EMAIL PROTECTED]>
> > Reply-To: [EMAIL PROTECTED]
> > To: [EMAIL PROTECTED]
> > Subject: Cron email for root.
> > Resent-Date: 6 Apr 1998 21:48:23 -0000
> > Resent-From: [EMAIL PROTECTED]
> > Resent-cc: recipient list not shown: ;
> >
> > Everyday, I get email (for root) after it's cron.daily job, here
> > it is:
> >
> > Subject: Cron <root@wily-a-075> run-parts /etc/cron.daily
> >
> > shell-init: could not get current directory: getwd: cannot access parent
> > directories
> > job-working-directory: could not get current directory: getwd: cannot
> > access parent directories
> >
> > Can someone tell me what this means, and/or how I could fix it? I have RH
> > 4.2 if that makes a difference.
> >
> > Thanks,
> >
> >
> > --------------Kris Gibson---------------
> > ____
> > ----==-- _ / / \
> > ---==---(_)__ __ ____ __ / / /\ \
> > --==---/ / _ \/ // /\ \/ / / /_/\ \ \
> > -=====/_/_//_/\_,_/ /_/\_\ /______\ \ \
> > A proud member of TeamLinux \_________\/
> > [EMAIL PROTECTED]
> >
> >
> > --
> > PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> > http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
> > To unsubscribe: mail [EMAIL PROTECTED] with
> > "unsubscribe" as the Subject.
> >
>
>
> --
> PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
> To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject.
>
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.