Must You Warn the Next Person?
The duty to warn the next occupant of a compromised restroom, surveyed across four moral theories, resolves into a qualified obligation defended here.

Consider a case. A person concludes his occupancy of an enclosed, single-occupancy restroom under conditions that will, for a measurable interval, materially degrade the experience of whoever enters next — a matter of air, of ventilation, of a fixture slow to recover. At the door he encounters, or could easily encounter, the next entrant approaching. Has he a duty to warn? The question looks trivial and is not; it engages, in miniature, the central disputes of normative ethics, and I intend to survey the positions fairly before delivering a verdict, which will be firmer than the survey may lead the reader to expect.
The Consequentialist Account
The utilitarian asks only which act produces the greater balance of well-being over suffering (Mill 1863). At first pass the warning wins easily: a moment's awkwardness for the warner spares the entrant a genuine, if minor, harm, and forewarned he may defer, ventilate, or brace. But the calculus is not one-sided. The warning imposes its own costs — the entrant's embarrassment at being addressed on the subject, the warner's, the small social injury of the acknowledgment itself — and a sufficiently refined felicific accounting might find these to outweigh the spared discomfort, particularly where the harm is transient and the warning permanent in memory. The consequentialist verdict, then, is not automatic; it turns on whether the warning's disutility of embarrassment exceeds the entrant's spared disutility of exposure. I shall argue it does not, but the calculus alone cannot close the case.

The Deontological Account
The Kantian asks not about outcomes but about duties, and finds two in tension. There is a duty of beneficence — an imperfect duty to advance the ends of others where one can at little cost (Kant 1785, 4:430) — which plainly counsels warning. But there is no perfect duty of disclosure here: silence is not a lie, and the duty against deception, which is perfect, is not engaged by merely failing to volunteer a fact. The deontologist thus arrives at a genuine but weak obligation: one ought to warn as an act of beneficence, but the duty admits latitude and is not owed to this particular entrant as a matter of strict right. This is less than the consequentialist offered at his most confident, and the case would rest here inconclusively were it not for a distinction both accounts have so far suppressed.
The Doctrine of Doing and Allowing
That distinction is the acts-and-omissions doctrine: the widely held view that doing harm is morally weightier than merely allowing it, that the person who pushes is worse than the person who fails to catch (Foot 1967; Quinn 1989). Everything in our case depends on which side of the line the silent exit falls. If failing to warn is a mere allowing — a bystander's permitted inaction — the duty is weak, as the deontologist found. But the offender is not a bystander to a hazard he chanced upon; he is its author. He created the condition and then, by departing without notice, arranged for another to encounter it unawares. This is nearer to doing than to allowing — nearer to setting a hazard than to failing to remove one. Between the deontologist's duty of truthfulness and the consequentialist's calculus of embarrassment, the acts-and-omissions distinction is the only thing standing between the offender and the charge of assault by inaction. It converts a weak duty of beneficence into something closer to a duty of non-maleficence, which is perfect, stringent, and owed.
The Contractualist Account
Scanlon offers the decisive test: an act is wrong if it is disallowed by any principle for the general regulation of behavior that no one could reasonably reject (Scanlon 1998). So consider the candidate principle one who authors a transient hazard in a shared space need give no notice to the next user. Could the next user reasonably reject it? Plainly. Its burden falls entirely on a person who did nothing to incur it, to spare its author a trivial awkwardness he could bear at will; the asymmetry of the burdens is exactly the kind Scanlon's test is built to condemn. The competing principle — one gives what warning one reasonably can — imposes only a slight and bearable cost on the author and is rejectable by no one. Contractualism, unlike the first two accounts, returns a clean and confident answer: the duty is real.
Virtue and the Awkwardness Objection
There remains the objection from decency itself: that the explicit warning is coarse, that the person of practical wisdom would sooner spare both parties the acknowledgment than deliver it, and that tact is a virtue too. The objection has force, and it does not defeat the duty; it specifies its discharge. Aristotle's person of practical wisdom finds the mean not only in whether to act but in how (Aristotle, Nicomachean Ethics II.6), and the mean here is not the blunt verbal warning but the ventilation interval observed, the door left ajar the requisite moment, the unhurried yielding of the threshold — a warning conveyed, as the best warnings are, without a word.

The Verdict
The tribunals converge, which is rarer than the survey suggested it would be. The utilitarian, correctly weighted, favors the warning; the deontologist grants at least a duty of beneficence; the acts-and-omissions doctrine hardens it, against the author of the hazard, into a near-duty of non-maleficence; and contractualism certifies it as a principle no one could reasonably reject. There is, then, a duty to warn the next person. It is not owed to the point of causing greater embarrassment than harm prevented; it is discharged as fully by an observed interval or a held door as by any spoken thing; and it binds most tightly on precisely the person least inclined to acknowledge it — the one who made the warning necessary. He should allow the interval. The question was never really close.
Works Cited
Mill, John Stuart. Utilitarianism. 1863. Kant, Immanuel. Groundwork of the Metaphysics of Morals. 1785. Cited by Akademie pagination. Foot, Philippa. "The Problem of Abortion and the Doctrine of the Double Effect." Oxford Review 5 (1967): 5–15. Quinn, Warren S. "Actions, Intentions, and Consequences: The Doctrine of Doing and Allowing." The Philosophical Review 98, no. 3 (1989): 287–312. Scanlon, T. M. What We Owe to Each Other. Harvard University Press, 1998. Aristotle. Nicomachean Ethics. Book II. Cited by Bekker number. Ferns, C. Odessa. "The Duty to Warn in Shared Sanitary Space: A Convergence Argument." Journal of Applied Casuistry 11, no. 4 (2021): 402–431.