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

Re: Why am I getting these messages?



bhogan@bedlam.rahul.net (Bill Hogan) wrote:
> >From root Mon Feb 12 06:44:09 1996
> Return-Path: <root>
> Received: by bedlam.rahul.net
> 	id m0tlzS6-0003mCC
> 	(Debian /\oo/\ Smail3.1.29.1 #29.33); Mon, 12 Feb 96 06:42 PST
> Message-Id: <m0tlzS6-0003mCC@bedlam.rahul.net>
> Date: Mon, 12 Feb 96 06:42 PST
> From: root (Cron Daemon)
> To: root
> Subject: Cron <root@bedlam> run-parts /etc/cron.daily
> X-Cron-Env: <SHELL=/bin/sh>
> X-Cron-Env: <PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin>
> X-Cron-Env: <HOME=/root>
> X-Cron-Env: <LOGNAME=root>
> Status: RO
> 
> shell-init: could not get current directory: getwd: cannot access parent directories
etc...

Try putting 'cd /tmp' in /etc/cron.daily/find (after the comments) to
see if that clears it up. Bash is complaining because the current
directory is /root, and nobody doesn't have access to /root.

Neil.
+-----------------------------------------+----------------------+
| Neil Turton, Assistant computer officer | Snail Mail to:       |
|                                         |  Churchill college,  |
| e-mail: N.D.Turton@chu.cam.ac.uk        |  Cambridge. CB3 0DS. |
+-----------------------------------------+----------------------+
| GCM(M) d H s+:- !g p0>+ !au(-) a- w+ v C+++@ UL++++$(+++) P+   |
|   L+++ 3- E++ N-(+) K- W--- M-- V po Y+ t-- 5 !j R- G? !tv(-)  |
|   b+ D+ B? e+++ u(*) h-- f !r>+++ n+ y?                        |
+----------------------------------------------------------------+


Reply to: