Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Sat, 28 Sep 2002 14:02:53 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Dino Morelli cc: cygwin AT cygwin DOT com Subject: Re: ncftp 3.1.4 bookmark save problem In-Reply-To: <5.1.0.14.0.20020928133344.01745480@pop.snet.net> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sat, 28 Sep 2002, Dino Morelli wrote: > I just got the nearly complete cygwin setup this week (minus XFree86) and > have noticed that ncftp is having a problem saving bookmarks. > > My $HOME is /cygdrive/c/Document and Settings/stimpleton > (yes, with spaces, God damn Windows to hell) > > It's not making a $HOME/.ncftp directory and fails even if I make one for > it and do 'chmod 666 $HOME/.ncftp' > > The error message I get is "Sorry, configuration information is not saved > for this user." > > I also tried to set $NCFTPDIR to something non-spacey like /cygdrive/c and > it still fails to create bookmark info at that location. (as per the man > page on environment variables that ncftp is supposed to use) > > I'm running under Windows XP Pro SP1 Hmm, Windows usually names that directory "Documents and Settings" (notice the "s"). Just making sure you're using the right one (which you should be, since you can create a $HOME/.ncftp), so just covering the bases here. What is your $CYGWIN setting? Are you running ncftp from a bash shell, or from a shortcut? If the latter, is your $CYGWIN set in .bashrc or similar, or is it set in the Windows environment? ncftp seems to extract the value of $HOME from /etc/passwd, rather than from the current value of $HOME... What is your home directory set to in /etc/passwd? Hope this helps... Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51 -- 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/