RFC 697
CWD command of FTP
RFC 697: CWD Command of FTP π
Author: Jim Lieb, SUMEX-AIM π NIC number: 32963 β¨ Date: July 14, 1975 πΈ Category, obsoletes and updates: none listed in this document π¦
Introduction β¨
okay so the Tenex file system supports a "files only" directory π and this kind of directory cannot be "logged in" but it CAN be "connected to" π₯ a login gives directory "owner" access to the job the system generates, plus an address space where the user can run programs π a connect gives an existing job and its user "owner" access to a directory but creates no address space π«Ά and the words "owner", "group", and "universal" or "public" decide which field of the protection specification gets checked when someone asks to access a file π
Problem π
the Tenex FTP server does not allow an FTP Login to a "files only" directory π the current protocol has the CWD (Change Working Directory) command, which gets part of the "connect" functions, but it does NOT grant "owner" access to the user π so there's literally no way to access a "files only" directory as the "owner" (aka you can supply the password and still not get in as owner) π this is undesirable for private directories of this type because it's uneconomical to define a user-directory "group" for so few directories, and unrestricted "public" access may be undesirable too π«
Solution π§
there are two approaches we can take β¨ either we remove the distinction "files only" from the FTP login, or we create a command that does the "connect" function π¦ the restriction on "files only" directories comes from how we define a user of FTP to the server π if we say that any net user who knows the password to a directory has ownership of that directory as far as FTP is concerned, then we have a solution π if we want an FTP login to be as restrictive as a user login, then we need the second alternative π₯
Proposal π
change the protocol in one of the following ways:
- Remove the restriction on "files only" directories for FTP logins or
- Add an optional argument to the CWD (Change Working Directory) command to specify the password string for the directory. If the password check is successful, the user is granted ownership rights to that directory. If the password is not present or the check fails, the command functions as it presently does and access is controlled by the current protection mechanism. Anonymous users should not be allowed to use this mechanism to change their access to the file system. π«Ά bestie, anon users should not be changing their access this way, periodt π
[ This RFC was put into machine readable form for entry ]
[ into the online RFC archives by Alex McKenzie with ]
[ support from GTE, formerly BBN Corp. 10/99 ]
π¦ where this page comes from
- ietf: rfc697 1975-07
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms