This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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
Attachment:
passwd
Description: Text document
Attachment:
trace.txt
Description: Text document
-- 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/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |