unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Patrick Goltzsch <pgoltzsch@gmail.com>
To: 10874@debbugs.gnu.org
Subject: bug#10874: ange-ftp ignores comments in .netrc
Date: Thu, 23 Feb 2012 15:09:49 +0100	[thread overview]
Message-ID: <20120223150949.648fbbf8@leda> (raw)

Hi!

Working with different logins for the same machine I came
across what seems to be a bug in ange-ftp. I'm using a
standard .netrc file to collect the various accounts on
different machines. In this case I have access with
administrative rights and an account as a normal user on the
same server:

machine test1.example.org login user password abcde
# machine test1.example.org login admin password 12345

With the dired command (C-x d) I get a listing on the remote
machine, but although the second line is commented out,
ange-ftp transmits "admin" as the login name and
"12345" as the password.

Putting the first line second gets me logged in with the
normal user account. The standard ftp command on the command
line behaves correctly.

In order to ignore any init-files I started GNU Emacs 23.3.1
(x86_64-pc-linux-gnu, GTK+ Version 2.24.5) on kubuntu 11.10
on the commandline: emacs -Q

Regards,

		    Patrick

-- 
Nota bene vernichten Sie bitte diese Zeilen.





             reply	other threads:[~2012-02-23 14:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-23 14:09 Patrick Goltzsch [this message]
2012-02-24  8:19 ` bug#10874: ange-ftp ignores comments in .netrc Michael Albinus
2012-02-27 14:08   ` Ted Zlatanov
2012-02-27 15:09     ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120223150949.648fbbf8@leda \
    --to=pgoltzsch@gmail.com \
    --cc=10874@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).