bin/72425: ftpd SITE command case sensitivity

Yar Tikhiy yar at FreeBSD.org
Sun Oct 17 13:50:30 PDT 2004


The following reply was made to PR bin/72425; it has been noted by GNATS.

From: Yar Tikhiy <yar at FreeBSD.org>
To: freebsd-gnats-submit at FreeBSD.org, drick at edigic.com
Cc: ryans at gamersimpact.com
Subject: Re: bin/72425: ftpd SITE command case sensitivity
Date: Mon, 18 Oct 2004 00:44:09 +0400

 In my opinion, the problem described in this PR isn't of ftpd(8)
 or ftp(1).  I'm afraid that it isn't a problem at all.  On the one
 hand, ftpd(8) groks well any case in commands to it since the FTP
 specification defines the protocol be case insensitive:
 
 %%%
 
 site chmod 444 preader.c
 200 CHMOD command successful.
 SITE CHMOD 111 preader.c
 200 CHMOD command successful.
 sItE ChMoD 644 preader.c
 200 CHMOD command successful.
 
 %%%
 
 On the other hand, ftp(1) is case sensitive by design, being in
 this aspect in line with any well-tempered Unix application.  I'm
 inclined to close this PR because I see no case sensitivity issue
 found regarding ftpd(8) or ftp(1).  Would you mind if I did so?
 
 -- 
 Yar


More information about the freebsd-bugs mailing list