Summary

  • RFC 959 defined SMNT (Structure Mount) as an optional FTP command that could swap the file-system data structure beneath a live session while preserving login, accounting and transfer parameters.
  • The command made every pathname context-dependent: an identical string before and after a successful mount need not name the same object or carry the same permissions.
  • Later FTP virtual hosting ran the same logic in reverse. RFC 7151's HOST must be selected before authentication, because host choice can decide which identities are valid at all.

One session, and the ground moves beneath it

Picture the control connection as a small ceremony already completed. The server knows who you are. The account information, if any was required, has been accepted. The representation type and transfer mode have been negotiated. You are, in the language of the protocol, logged in and ready.

Then you send one command, and the floor moves.

The connection stays open. Nobody asks you to authenticate again. The transfer settings do not visibly twitch. And yet the next pathname you type may land in an entirely different body of files.

That command is SMNT — Structure Mount. RFC 959, the 1985 FTP specification, grants it a single sentence of glory: it lets the user mount a different file-system data structure without altering login or accounting information or transfer parameters. Its argument is a pathname identifying a directory or some other system-dependent group of files.

Four lines of standard. A design consequence the industry took another thirty years to name properly.

The preservation list is the point

Protocol histories usually ask what a command changes. SMNT is far more interesting read backwards, through what it promises not to change.

Login survives. Accounting survives. The chosen transfer parameters survive. A successful mount is therefore not a disguised reset and not a second authentication transaction. It is a deliberate mutation performed inside an established security and operational context — the protocol equivalent of renovating the house while the tenant keeps the keys.

RFC 959 hands you two contrasts that make the geometry obvious. CWD, Change Working Directory, moves you to a different directory or dataset without disturbing login or accounting information. It changes your position inside the current structure. REIN, Reinitialize, does the opposite kind of work: it flushes user, account and transfer parameters until the connection resembles a freshly opened control connection.

Three commands, three genuinely different state transitions. CWD changes where you are. SMNT changes what “where” means. REIN wipes the session context itself. Collapse all three into “navigation” and you erase the exact boundary the protocol bothered to record.

A pathname was never a universal object identifier

RFC 959 pointedly refuses to impose a universal pathname convention; syntax follows the file systems of the parties involved. Fourteen years later, RFC 3659 was still warning clients that pathname syntax is server-dependent outside the Trivial Virtual File Store model, and advising them to retain and retransmit pathnames exactly as received.

SMNT adds a second dimension to that warning, and it is the one people keep forgetting. Byte-perfect string preservation protects spelling and encoding. It proves nothing about object continuity across a structure change. /reports/current can be identical on both sides of a mount and still resolve through a different namespace root, a different policy boundary, a different storage system.

So the evidence that identifies a resource is composite: server endpoint, authenticated principal, selected host where applicable, mounted structure, working directory, pathname representation, and time. A log that records only the path preserves the most photogenic field and throws away the state that made it mean anything.

None of this claims that every SMNT implementation exposed the same mounting model — the RFC deliberately leaves the file group system-dependent. The defensible historical conclusion is narrower and stronger: FTP standardized a request to change that context while holding several other session properties fixed.

Access control could move without a new login

The later command registry makes the security character of the operation explicit. RFC 5797 files SMNT under the access-control command class, marks it optional, and ties it to the base specification. The IANA FTP Commands and Extensions registry keeps the same classification in its current command table.

That label is not bureaucratic decoration. A successful structure change can alter which objects are reachable and how identical names resolve, even though the authenticated identity has not moved an inch. Authorization therefore has to be evaluated against the active namespace state — not inferred once at login and then trusted forever.

What the standard does not say matters just as much. It never promises that every logged-in user may mount every available structure. Nor does an IANA row prove that any particular server implements the command or permits it. Registration coordinates a name and its documented semantics. Deployment, policy and a concrete success reply are separate evidence, and they are the only evidence that counts.

RFC 1123 sharpens the distinction between vocabulary and obligation: it requires CWD and leaves SMNT optional. Interoperable FTP had to support walking around inside a namespace. It never had to support replacing the namespace itself.

Virtual hosting ran the logic backwards

The comparison with FTP virtual hosting is revealing precisely because the ordering flips. RFC 7151 defines HOST so a client can select a virtual host on a shared server — and it insists on HOST before authentication, rejecting it afterwards with a 503 reply.

Why the fuss? Because the selected host may determine which authentication methods exist and which users are authorized. Host choice can reshape the identity domain itself, so the protocol refuses to let an already-authenticated principal stroll across that line.

HOST did not replace SMNT; the two commands serve different facilities. But their contrast yields a design test that has aged extremely well. If a context change only alters the namespace beneath an identity, a system may keep the session and re-evaluate authorization for the new context. If the context change determines which identities exist or are acceptable, selection belongs before authentication.

The real question was never whether a switch feels like navigation. It is which security facts the switch can invalidate.

The registry preserves a capability, not an observation

The IANA table lists SMNT with its access-control class, its optional requirement and its RFC 959 reference. That row is good evidence that the name remains allocated and that later standards kept a stable description of it.

It is not evidence of live support, of authorization, of use, or of success. Even a server that recognizes SMNT may refuse the requested path. A positive reply proves that one transition was accepted in one session; it still does not prove that two matching strings on either side named the same file.

That hierarchy of claims is the whole discipline of operational history. A specification establishes semantics. A registry establishes coordinated vocabulary. Capability discovery establishes implementation behavior. A session transcript establishes an accepted transition. Object continuity demands resource evidence on top of all of it.

The forgotten command’s durable lesson

SMNT is obscure because almost nobody asks a modern FTP server to exchange mounted structures mid-conversation. Its state model, meanwhile, has become more familiar, not less. Containers swap mount namespaces. Cloud credentials persist while tenants and projects change. Object-store keys are interpreted under an account and a region. Administrative consoles hold a human login steady while the active organization slides underneath.

Do not stretch the analogy into identity between systems; FTP’s command belongs to its own era and its own implementation diversity. What survives is the discipline of naming state out loud.

A principal is not a namespace. A pathname is not an object without its resolution context. A persistent session is not proof that the resource plane stayed still. By keeping the login while letting the structure move, SMNT put those separations on the wire, where engineers could no longer pretend not to see them.

The login survived the switch. That is precisely why the switch had to be written down.

Sources