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

Re: [coldsync-hackers] Re: Home directory?



On Mon, 30 Sep 2002, Alessandro Zummo wrote:

>  On 30-Set-02 at 00:31:23,
>   Rich Bowen <rbowen@rcbowen.com> wrote:
>
>
> > I *FINALLY* figured out why my conduits stopped working. I am running
> > coldsync in 'daemon' mode, launched by inittab. And none of my directory
> > paths are working because the environment variable ENV{HOME} is not
> > getting set correctly. What's the work-around for this?
>
> Could you please describe your whole environment ?

I'm not entirely sure what you are asking, but I'll try.

I have coldsync run from inittab:

m1:12345:respawn:/usr/local/bin/coldsync -md -d sync\:1 -d misc\:1 -l /dev/null

I then have a /usr/local/etc/palms that contains:

*Visor*|rbowen|8738|rbowen|Visor|/home/rbowen/.coldsyncrc

And, then, finally, I have conduits described in .coldsyncrc

One of these contains:

File            => "$ENV{HOME}/.palm/Memos",

as a location where sync'ed files will be put.

Apparently, because coldsync is running as root, $ENV{HOME} is set to /
and so when I turn up debug I get the error that the file //.palm/Memos
cannot be found.

Is that enough information?

-- 
Who can say where the road goes
Where the day flows
Only time
 --Pilgrim (Enya - A Day Without Rain)


-- 
This message was sent through the coldsync-hackers mailing list.  To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body.  For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.