Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/ftp highlight that for ftp:// auto-fetches, read acc...
details: https://anonhg.NetBSD.org/src/rev/e3524505d02b
branches: trunk
changeset: 533560:e3524505d02b
user: lukem <lukem%NetBSD.org@localhost>
date: Thu Jul 04 06:39:28 2002 +0000
description:
highlight that for ftp:// auto-fetches, read access is required on
intermediate directories because ftp(1) obeys RFC1738. for [bin/15419]
diffstat:
usr.bin/ftp/ftp.1 | 19 +++++++++++++++----
1 files changed, 15 insertions(+), 4 deletions(-)
diffs (48 lines):
diff -r 3c4796ed6083 -r e3524505d02b usr.bin/ftp/ftp.1
--- a/usr.bin/ftp/ftp.1 Thu Jul 04 03:23:32 2002 +0000
+++ b/usr.bin/ftp/ftp.1 Thu Jul 04 06:39:28 2002 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: ftp.1,v 1.83 2002/06/05 10:20:48 lukem Exp $
+.\" $NetBSD: ftp.1,v 1.84 2002/07/04 06:39:28 lukem Exp $
.\"
.\" Copyright (c) 1996-2002 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -68,7 +68,7 @@
.\"
.\" @(#)ftp.1 8.3 (Berkeley) 10/9/94
.\"
-.Dd May 18, 2002
+.Dd July 4, 2002
.Dt FTP 1
.Os
.Sh NAME
@@ -1496,9 +1496,14 @@
In order to be compliant with
.Cm RFC 1738 ,
.Nm
-strips the leading
+has the following behaviour for
+.Dq ftp://
+auto-fetches:
+.Bl -bullet
+.It
+The leading
.Sq /
-from
+is stripped from
.Ar path ,
resulting in a transfer relative from the default login directory of
the user.
@@ -1519,6 +1524,12 @@
.Sq mypass ,
use
.Dq ftp://myname:mypass@localhost/%2fetc/motd
+.It
+You must have read access to each of the intermediate directories,
+as each sub-directory is
+.Ic cd Ns -ed
+to in order.
+.El
.Pp
If a suffix of
.Sq ;type=A
Home |
Main Index |
Thread Index |
Old Index