[ANNOUNCEMENT] Updated: cygwin-1.3.12-1

Tony Arnold tony.arnold@man.ac.uk
Thu Jul 4 12:18:00 GMT 2002


Corrinna,

On Thu, 4 Jul 2002, Corinna Vinschen wrote:

> On Thu, Jul 04, 2002 at 05:50:50PM +0100, Tony Arnold wrote:
> > Test jobs show that $HOME is being set to / when the cron job works.
> > $HOME is set correctly for bash sessions run interactively via rxvt or
> > whatever.
>
> Really check for the homedir in your /etc/passwd file again.  This
> setting HOME to "/" should only happen if neither HOME nor /etc/passwd
> are set correctly.

It looks OK to me, but I've attached it anyway. The usernmae I use is
'zzalsaca' (don;t ask why!).

> If you don't get a clue by yourself, start an
>
>   strace -o <somefile> <somesimplejob>
>
> from cron and send "somefile" to this list.

Also attached output from a cron job that just did 'echo $HOME'.

My reading of it is that the passwd file is read, but HOME is not set
because it thinks it is already set!

Regards,
Tony.
-- 
Tony Arnold, Deputy to the Head of COS Division, Manchester Computing,
University of Manchester, Oxford Road, Manchester M13 9PL.
T: +44 (0)161 275 6093, F: +44 (0)870 136 1004, M: +44 (0)773 330 0039
E-mail: tony.arnold@man.ac.uk, Home: http://www.man.ac.uk/Tony.Arnold
-------------- next part --------------
Everyone:*:0:0:,S-1-1-0::
SYSTEM:*:18:18:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
Administrator:unused_by_nt/2000/xp:500:513:U-ACA-VNT\Administrator,S-1-5-21-329068152-1993962763-1202660629-500:/home/Administrator:/bin/bash
Guest:unused_by_nt/2000/xp:501:513:U-ACA-VNT\Guest,S-1-5-21-329068152-1993962763-1202660629-501:/home/Guest:/bin/bash
zzalsaca:unused_by_nt/2000/xp:1000:513:Tony Arnold,U-ACA-VNT\zzalsaca,S-1-5-21-329068152-1993962763-1202660629-1000:/home/zzalsaca:/bin/bash
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: trace.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20020704/b64967a2/attachment.txt>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list