|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699 |
- title: The MIT License, Line by Line
- url: https://writing.kemitchell.com/2016/09/21/MIT-License-Line-by-Line.html
- hash_url: 4310fe172fcd8cf9dfecd8e991d3d675
-
- <p><a href="http://spdx.org/licenses/MIT">The MIT License</a> is the most popular open-source software
- license. Here’s one read of it, line by line.</p>
-
- <h2 id="read-the-license">Read the License</h2>
-
- <p>If you’re involved in open-source software and haven’t taken the time
- to read the license from top to bottom—it’s only 171 words—you need
- to do so now. Especially if licenses aren’t your day-to-day. Make a
- mental note of anything that seems off or unclear, and keep trucking.
- I’ll repeat every word again, in chunks and in order, with context
- and commentary. But it’s important to have the whole in mind.</p>
-
- <blockquote>
- <p>The MIT License (MIT)</p>
-
- <p>Copyright (c) <year> <copyright holders></p>
-
- <p>Permission is hereby granted, free of charge, to any person obtaining
- a copy of this software and associated documentation files (the
- “Software”), to deal in the Software without restriction, including
- without limitation the rights to use, copy, modify, merge, publish,
- distribute, sublicense, and/or sell copies of the Software, and to
- permit persons to whom the Software is furnished to do so, subject to
- the following conditions:</p>
-
- <p>The above copyright notice and this permission notice shall be
- included in all copies or substantial portions of the Software.</p>
-
- <p><em>The Software is provided “as is”, without warranty of any kind,
- express or implied, including but not limited to the warranties of
- merchantability, fitness for a particular purpose and noninfringement.
- In no event shall the authors or copyright holders be liable for any
- claim, damages or other liability, whether in an action of contract,
- tort or otherwise, arising from, out of or in connection with the
- software or the use or other dealings in the Software.</em></p>
- </blockquote>
-
- <p>The license is arranged in five paragraphs, but breaks down logically
- like this:</p>
-
- <ul>
- <li><strong>Header</strong>
- <ul>
- <li><strong>License Title</strong>: “The MIT License”</li>
- <li><strong>Copyright Notice</strong>: “Copyright (c) …”</li>
- </ul>
- </li>
- <li><strong>License Grant</strong>: “Permission is hereby granted …”
- <ul>
- <li><strong>Grant Scope</strong>: “… to deal in the Software …”</li>
- <li><strong>Conditions</strong>: “… subject to …”
- <ul>
- <li><strong>Attribution and Notice</strong>: “The above … shall be included …”</li>
- <li><strong>Warranty Disclaimer</strong>: “<em>The software is provided ‘as is’ …</em>”</li>
- <li><strong>Limitation of Liability</strong>: “<em>In no event …</em>”</li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
-
- <p>Here we go:</p>
-
- <h2 id="header">Header</h2>
-
- <h3 id="license-title">License Title</h3>
-
- <blockquote>
- <p>The MIT License (MIT)</p>
- </blockquote>
-
- <p>“The MIT License” is a not a single license, but a family of
- license forms derived from language prepared for releases from the
- Massachusetts Institute of Technology. It has seen a lot of changes
- over the years, both for the original projects that used it, and also
- as a model for other projects. The Fedora Project maintains a <a href="https://fedoraproject.org/wiki/Licensing:MIT?rd=Licensing/MIT">kind of
- cabinet of MIT license curiosities</a>, with insipid variations
- preserved in plain text like anatomical specimens in formaldehyde,
- tracing a wayward kind of evolution.</p>
-
- <p>Fortunately, the <a href="https://opensource.org">Open Source Initiative</a> and <a href="https://spdx.org">Software Package
- Data eXchange</a> groups have standardized a generic MIT-style
- license form as “The MIT License”. OSI in turn has adopted SPDX’
- standardized <a href="http://spdx.org/licenses/">string identifiers</a> for common open-source
- licenses, with <code class="highlighter-rouge">MIT</code> pointing unambiguously to the standardized form
- “MIT License”. If you want MIT-style terms for a new project, use
- <a href="http://spdx.org/licenses/MIT">the standardized form</a>.</p>
-
- <p>Even if you include “The MIT License” or “SPDX:MIT” in a <code class="highlighter-rouge">LICENSE</code>
- file, any responsible reviewer will still run a comparison of the text
- against the standard form, just to be sure. While various license
- forms calling themselves “MIT License” vary only in minor details, the
- looseness of what counts as an “MIT License” has tempted some authors
- into adding bothersome “customizations”. The canonical horrible,
- no good, very bad example of this is <a href="https://spdx.org/licenses/JSON">the JSON license</a>,
- an MIT-family license plus “The Software shall be used for Good,
- not Evil.”. This kind of thing might be “very Crockford”. It is
- definitely a pain in the ass. Maybe the joke was supposed to be on
- the lawyers. But they laughed all the way to the bank.</p>
-
- <p>Moral of the story: “MIT License” alone is ambiguous. Folks probably
- have a good idea what you mean by it, but you’re only going to save
- everyone—yourself included—time by copying the text of the standard
- MIT License form into your project. If you use metadata, like the
- <code class="highlighter-rouge">license</code> property in package manager metadata files, to designate the
- <code class="highlighter-rouge">MIT</code> license, make sure your <code class="highlighter-rouge">LICENSE</code> file and any header comments
- use the standard form text. All of this can be <a href="https://www.npmjs.com/package/licensor">automated</a>.</p>
-
- <h3 id="copyright-notice">Copyright Notice</h3>
-
- <blockquote>
- <p>Copyright (c) <year> <copyright holders></p>
- </blockquote>
-
- <p>Until the 1976 Copyright Act, United States copyright law required
- specific actions, called “formalities”, to secure copyright in
- creative works. If you didn’t follow those formalities, your rights
- to sue others for unauthorized use of your work were limited, often
- completely lost. One of those formalities was “notice”: Putting
- marks on your work and otherwise making it known to the market that
- you were claiming copyright. The © is a standard symbol for
- marking copyrighted works, to give notice of copyright. The ASCII
- character set doesn’t have the © symbol, but <code class="highlighter-rouge">Copyright (c)</code>
- gets the same point across.</p>
-
- <p>The 1976 Copyright Act, which “implemented” many requirements
- of the international Berne Convention, eliminated formalities
- for securing copyright. At least in the United States, copyright
- holders still need to register their copyrighted works before suing
- for infringement, with potentially higher damages if they register
- before infringement begins. In practice, however, many register
- copyright right before bringing suit against someone in particular.
- You don’t lose your copyright just by failing to put notices on it,
- registering, sending a copy to the Library of Congress, and so on.</p>
-
- <p>Even if copyright notices aren’t as absolutely necessary as they used
- to be, they are still plenty useful. Stating the year a work was
- authored and who the copyright belonged to give some sense of when
- copyright in the work might expire, bringing the work into the public
- domain. The identity of the author or authors is also useful: United
- States law calculates copyright terms differently for individual and
- “corporate” authors. Especially in business use, it may also behoove
- a company to think twice about using software from a known competitor,
- even if the license terms give very generous permission. If you’re
- hoping others will see your work and want to license it from you,
- copyright notices serve nicely for attribution.</p>
-
- <p>As for “copyright holder”: Not all standard form licenses have a space
- to write this out. More recent license forms, like <a href="https://www.apache.org/licenses/LICENSE-2.0">Apache 2.0</a>
- and <a href="https://www.gnu.org/licenses/gpl-3.0.en.html">GPL 3.0</a>, publish <code class="highlighter-rouge">LICENSE</code> texts that are meant to be copied
- verbatim, with header comments and separate files elsewhere to indicate
- who owns copyright and is giving the license. Those approaches neatly
- discourage changes to the “standard” texts, accidental or intentional.
- They also make automated license identification more reliable.</p>
-
- <p>The MIT License descends from language written for releases of
- code by institutions. For institutional releases, there was
- just one clear “copyright holder”, the institution releasing
- the code. Other institutions cribbed these licenses, replacing
- “MIT” with their own names, leading eventually to the generic
- forms we have now. This process repeated for other short-form
- institutional licenses of the era, notably the <a href="http://spdx.org/licenses/BSD-4-Clause">original four-clause
- BSD License</a> for the University of California, Berkeley,
- now used in <a href="https://spdx.org/licenses/BSD-3-Clause">three-clause</a> and <a href="https://spdx.org/licenses/BSD-2-Clause">two-clause</a>
- variants, as well as <a href="http://www.isc.org/downloads/software-support-policy/isc-license/">The ISC License</a> for the Internet Systems
- Consortium, an MIT variant.</p>
-
- <p>In each case, the institution listed itself as the copyright holder
- in reliance on rules of copyright ownership, called “<a href="http://worksmadeforhire.com/">works made
- for hire</a>” rules, that give employers and clients ownership of
- copyright in some work their employees and contractors do on their
- behalf. These rules don’t usually apply to distributed collaborators
- submitting code voluntarily. This poses a problem for project-steward
- foundations, like the Apache Foundation and Eclipse Foundation, that
- accept contributions from a more diverse group of contributors.
- The usual foundation approach thus far has been to use a house
- license that states a single copyright holder—<a href="https://www.apache.org/licenses/LICENSE-2.0">Apache 2.0</a> and
- <a href="https://www.eclipse.org/legal/epl-v10.html">EPL 1.0</a>—backed up by contributor license agreements—<a href="https://www.apache.org/licenses/#clas">Apache
- CLAs</a> and <a href="https://wiki.eclipse.org/ECA">Eclipse CLAs</a>—to collect rights from contributors.
- Collecting copyright ownership in one place is even more important
- under “copyleft” licenses like the GPL, which rely on copyright owners
- to enforce license conditions to promote software-freedom values.</p>
-
- <p>These days, loads of projects without any kind of institutional or
- business steward use MIT-style license terms. SPDX and OSI have
- helped these use cases by standardizing forms of licenses like
- MIT and ISC that don’t refer to a specific entity or institutional
- copyright holder. Armed with those forms, the prevailing practice of
- project authors is to fill their own name in the copyright notice of
- the form very early on … and maybe bump the year here and there.
- At least under United States copyright law, the resulting copyright
- notice doesn’t give a full picture.</p>
-
- <p>The original owner of a piece of software retains ownership of their
- work. But while MIT-style license terms give others rights to build
- on and change the software, creating what the law calls “derivative
- works”, they don’t give the original author ownership of copyright in
- others’ contributions. Rather, each contributor has copyright in any
- <a href="https://en.wikipedia.org/wiki/Feist_Publications,_Inc.,_v._Rural_Telephone_Service_Co.">even marginally creative</a> work they make using the existing
- code as a starting point.</p>
-
- <p>Most of these projects also balk at the idea of taking contributor
- license agreements, to say nothing of signed copyright assignments.
- That’s both naive and understandable. Despite the assumption of
- some newer open-source developers that sending a pull request on
- GitHub “automatically” licenses the contribution for distribution
- on the terms of the project’s existing license, United States law
- doesn’t recognize any such rule. Strong copyright <em>protection</em>,
- not permissive licensing, is the default.</p>
-
- <p><em>Update: GitHub later changed its site-wide terms of service to
- include an attempt to flip this default, at least on GitHub.com.
- I’ve written up some thoughts on that development, not all of them
- positive, in <a href="https://writing.kemitchell.com/2017/02/16/Against-Legislating-the-Nonobvious.html">another post</a>.</em></p>
-
- <p>To fill the gap between legally effective, well-documented grants
- of rights in contributions and no paper trail at all, some projects
- have adopted the <a href="http://developercertificate.org/">Developer Certificate of Origin</a>, a standard
- statement contributors allude to using <code class="highlighter-rouge">Signed-Off-By</code> metadata tags in
- their Git commits. The Developer Certificate of Origin was developed
- for Linux kernel development in the wake of the infamous SCO lawsuits,
- which alleged that chunks of Linux’ code derived from SCO-owned Unix
- source. As a means of creating a paper trail showing that each line
- of Linux came from a contributor, the Developer Certificate of Origin
- functions nicely. While the Developer Certificate of Origin isn’t a
- license, it does provide lots of good evidence that those submitting
- code expected the project to distribute their code, and for others
- to use it under the kernel’s existing license terms. The kernel also
- maintains a machine-readable <code class="highlighter-rouge">CREDITS</code> file listing contributors with
- name, affiliation, contribution area, and other metadata. I’ve done
- <a href="https://github.com/berneout/berneout-pledge">some</a> <a href="https://github.com/berneout/authors-certificate">experiments</a> adapting that approach for
- projects that don’t use the kernel’s development flow.</p>
-
- <h2 id="license-grant">License Grant</h2>
-
- <blockquote>
- <p>Permission is hereby granted, free of charge, to any person obtaining
- a copy of this software and associated documentation files (the
- “Software”),</p>
- </blockquote>
-
- <p>The meat of The MIT License is, you guessed it, a license. In general
- terms, a license is permission that one person or legal entity—the
- “licensor”—gives another—the “licensee”—to do something the
- law would otherwise let them sue for. The MIT License is a promise
- not to sue.</p>
-
- <p>The law sometimes distinguishes licenses from promises to give
- licenses. If someone breaks a promise to give a license, you may be
- able to sue them for breaking their promise, but you may not end up
- with a license. “Hereby” is one of those hokey, archaic-sounding
- words lawyers just can’t get rid of. It’s used here to show that
- the license text itself gives the license, and not just a promise of
- a license. It’s a legal <a href="https://en.wikipedia.org/wiki/Immediately-invoked_function_expression">IIFE</a>.</p>
-
- <p>While many licenses give permission to a specific, named licensee,
- The MIT License is a “public license”. Public licenses give
- everybody—the public at large—permission. This is one of the
- three great ideas in open-source licensing. The MIT License captures
- this idea by giving a license “to any person obtaining a copy of
- … the Software”. As we’ll see later, there is also a condition
- to receiving this license that ensures others will learn about their
- permission, too.</p>
-
- <p>The parenthetical with a capitalized term in quotation marks (a
- “Definition”), is the standard way to give terms specific meanings
- in American-style legal documents. Courts will reliably look back
- to the terms of the definition when they see a defined, capitalized
- term used elsewhere in the document.</p>
-
- <h3 id="grant-scope">Grant Scope</h3>
-
- <blockquote>
- <p>to deal in the Software without restriction,</p>
- </blockquote>
-
- <p>From the licensee’s point of view, these are the seven most important
- words in The MIT License. The key legal concerns are getting sued
- for copyright infringement and getting sued for patent infringement.
- Neither copyright law nor patent law uses “to deal in” as a term of
- art; it has no specific meaning in court. As a result, any court
- deciding a dispute between a licensor and a licensee would ask what
- the parties meant and understood by this language. What the court
- will see is that the language is intentionally broad and open-ended.
- It gives licensees a strong argument against any claim by a licensor
- that they didn’t give permission for the licensee to do <em>that</em> specific
- thing with the software, even if the thought clearly didn’t occur to
- either side when the license was given.</p>
-
- <blockquote>
- <p>including without limitation the rights to use, copy, modify, merge,
- publish, distribute, sublicense, and/or sell copies of the Software,
- and to permit persons to whom the Software is furnished to do so,</p>
- </blockquote>
-
- <p>No piece of legal writing is perfect, “fully settled in meaning”, or
- unmistakably clear. Beware anyone who pretends otherwise. This is the
- least perfect part of The MIT License. There are three main issues:</p>
-
- <p>First, “including without limitation” is a legal antipattern. It
- crops up in any number of flavors:</p>
-
- <ul>
- <li>“including, without limitation”</li>
- <li>“including, without limiting the generality of the foregoing”</li>
- <li>“including, but not limited to”</li>
- <li>many, many pointless variations</li>
- </ul>
-
- <p>All of these share a common purpose, and they all fail to achieve
- it reliably. Fundamentally, drafters who use them try to have their
- cake and eat it, too. In The MIT License, that means introducing
- specific examples of “dealing in the Software”—“use, copy, modify”
- and so on—without implying that licensee action has to be something
- like the examples given to count as “dealing in”. The trouble is
- that, if you end up needing a court to review and interpret the terms
- of a license, the court will see its job as finding out what those
- fighting meant by the language. If the court needs to decide what
- “deal in” means, it cannot “unsee” the examples, even if you tell
- it to. I’d argue that “deal in the Software without restriction”
- alone would be better for licensees. Also shorter.</p>
-
- <p>Second, the verbs given as examples of “deal in” are a hodgepodge.
- Some have specific meanings under copyright or patent law, others
- almost do or just plain don’t:</p>
-
- <ul>
- <li>
- <p><em>use</em> appears in <a href="https://www.govinfo.gov/app/details/USCODE-2017-title35/USCODE-2017-title35-partIII-chap28-sec271">United States Code title 35, section 271(a)</a>, the patent law’s list of what patent owners can sue
- others for doing without permission.</p>
- </li>
- <li>
- <p><em>copy</em> appears in <a href="https://www.govinfo.gov/app/details/USCODE-2017-title17/USCODE-2017-title17-chap1-sec106">United States Code title 17, section 106</a>, the copyright law’s list of what copyright owners can
- sue others for doing without permission.</p>
- </li>
- <li>
- <p><em>modify</em> doesn’t appear in either copyright or patent statute.
- It is probably closest to “prepare derivative works” under the
- copyright statute, but may also implicate improving or otherwise
- derivative inventions.</p>
- </li>
- <li>
- <p><em>merge</em> doesn’t appear in either copyright or patent statute.
- “Merger” has a specific meaning in copyright, but that’s clearly
- not what’s intended here. Rather, a court would probably read
- “merge” according to its meaning in industry, as in “to merge code”.</p>
- </li>
- <li>
- <p><em>publish</em> doesn’t appear in either copyright or patent statute.
- Since “the Software” is what’s being published, it probably hews
- closest to “distribute” under the <a href="https://www.govinfo.gov/app/details/USCODE-2017-title17/USCODE-2017-title17-chap1-sec106">copyright statute</a>.
- That statute also covers rights to perform and display works
- “publicly”, but those rights apply only to specific kinds of
- copyrighted work, like plays, sound recordings, and motion pictures.</p>
- </li>
- <li>
- <p><em>distribute</em> appears in the <a href="https://www.govinfo.gov/app/details/USCODE-2017-title17/USCODE-2017-title17-chap1-sec106">copyright statute</a>.</p>
- </li>
- <li>
- <p><em>sublicense</em> is a general term of intellectual property law.
- The right to sublicense means the right to give others licenses
- of their own, to do some or all of what you have permission to do.
- The MIT License’s right to sublicense is actually somewhat unusual
- in open-source licenses generally. The norm is what Heather
- Meeker calls a “direct licensing” approach, where everyone who
- gets a copy of the software and its license terms gets a license
- direct from the owner. Anyone who might get a sublicense under
- the MIT License will probably end up with a copy of the license
- telling them they have a direct license, too.</p>
- </li>
- <li>
- <p><em>sell copies of</em> is a mongrel. It is close to “offer to sell” and
- “sell” in the <a href="https://www.govinfo.gov/app/details/USCODE-2017-title35/USCODE-2017-title35-partIII-chap28-sec271">patent statute</a>, but refers to “copies”,
- a copyright concept. On the copyright side, it seems close to
- “distribute”, but the <a href="https://www.govinfo.gov/app/details/USCODE-2017-title17/USCODE-2017-title17-chap1-sec106">copyright statute</a> makes no
- mention of sales.</p>
- </li>
- <li>
- <p><em>permit persons to whom the Software is furnished to do so</em> seems
- redundant of “sublicense”. It’s also unnecessary to the extent
- folks who get copies also get a direct license.</p>
- </li>
- </ul>
-
- <p>Lastly, as a result of this mishmash of legal, industry,
- general-intellectual-property, and general-use terms, it isn’t clear
- whether The MIT License includes a patent license. The general
- language “deal in” and some of the example verbs, especially “use”,
- point toward a patent license, albeit a very unclear one. The fact
- that the license comes from the <em>copyright holder</em>, who may or may not
- have patent rights in inventions in the software, as well as most of
- the example verbs and the definition of “the Software” itself, all
- point strongly toward a copyright license. More recent permissive
- open-source licenses, like <a href="https://www.apache.org/licenses/LICENSE-2.0">Apache 2.0</a>, address copyright, patent,
- and even trademark separately and specifically.</p>
-
- <h3 id="three-license-conditions">Three License Conditions</h3>
-
- <blockquote>
- <p>subject to the following conditions:</p>
- </blockquote>
-
- <p>There’s always a catch! MIT has three!</p>
-
- <p>If you don’t follow The MIT License’s conditions, you don’t get the
- permission the license offers. So failing to do what the conditions
- say at least theoretically leaves you open to a lawsuit, probably a
- copyright lawsuit.</p>
-
- <p>Using the value of the software to the licensee to motivate
- compliance with conditions, even though the licensee paid nothing
- for the license, is the second great idea of open-source licensing.
- The last, not found in The MIT License, builds off license conditions:
- “Copyleft” licenses like the <a href="https://www.gnu.org/licenses/gpl-3.0.en.html">GNU General Public License</a>
- use license conditions to control how those making changes can license
- and distribute their changed versions.</p>
-
- <h3 id="notice-condition">Notice Condition</h3>
-
- <blockquote>
- <p>The above copyright notice and this permission notice shall be
- included in all copies or substantial portions of the Software.</p>
- </blockquote>
-
- <p>If you give someone a copy of the software, you need to include the
- license text and any copyright notice. This serves a few critical
- purposes:</p>
-
- <ol>
- <li>
- <p>Gives others notice that they have permission for the software
- under the public license. This is a key part of the
- direct-licensing model, where each user gets a license direct from
- the copyright holder.</p>
- </li>
- <li>
- <p>Makes known who’s behind the software, so they can be showered in
- praises, glory, and cold, hard cash donations.</p>
- </li>
- <li>
- <p>Ensures the warranty disclaimer and limitation of liability (coming
- up next) follow the software around. Everyone who gets a copy
- should get a copy of those licensor protections, too.</p>
- </li>
- </ol>
-
- <p>There’s nothing to stop you charging for providing a copy, or even
- a copy in compiled form, without source code. But when you do,
- you can’t pretend that the MIT code is your own proprietary code,
- or provided under some other license. Those receiving get to know
- their rights under the “public license”.</p>
-
- <p>Frankly, compliance with this condition is breaking down. Nearly every
- open-source license has such an “attribution” condition. Makers of
- system and installed software often understand they’ll need to compile
- a notices file or “license information” screen, with copies of license
- texts for libraries and components, for each release of their own.
- The project-steward foundations have been instrumental in teaching
- those practices. But web developers, as a whole, haven’t got the
- memo. It can’t be explained away by a lack of tooling—there is
- plenty—or the highly modular nature of packages from npm and other
- repositories—which uniformly standardize metadata formats for license
- information. All the good JavaScript minifiers have command-line flags
- for preserving license header comments. Other tools will concatenate
- <code class="highlighter-rouge">LICENSE</code> files from package trees. There’s really no excuse.</p>
-
- <h3 id="warranty-disclaimer">Warranty Disclaimer</h3>
-
- <blockquote>
- <p>The Software is provided “as is”, without warranty of any kind,
- express or implied, including but not limited to the warranties of
- merchantability, fitness for a particular purpose and noninfringement.</p>
- </blockquote>
-
- <p>Nearly every state in the United States has enacted a version of
- the Uniform Commercial Code, a model statute of laws governing
- commercial transactions. Article 2 of the UCC—“Division 2”
- in California—governs contracts for sales of goods, from used
- automobiles bought off the lot to large shipments of industrial
- chemicals to manufacturing plants.</p>
-
- <p>Some of the UCC’s rules about sales contracts are mandatory. These
- rules always apply, whether those buying and selling like them or not.
- Others are just “defaults”. Unless buyers and sellers opt out in
- writing, the UCC implies that they want the baseline rule found in
- the UCC’s text for their deal. Among the default rules are implied
- “warranties”, or promises by sellers to buyers about the quality and
- usability of the goods being sold.</p>
-
- <p>There is a big theoretical debate about whether public licenses
- like The MIT License are contracts—enforceable agreements between
- licensors and licensees—or just licenses, which go one way, but
- may come with strings attached, their conditions. There is less
- debate about whether software counts as “goods”, triggering the UCC’s
- rules. There is no debate among licensors on liability: They don’t want
- to get sued for lots of money if the software they give away for free
- breaks, causes problems, doesn’t work, or otherwise causes trouble.
- That’s exactly the opposite of what three default rules for “implied
- warranties” do:</p>
-
- <ol>
- <li>
- <p>The implied warranty of “merchantability” under <a href="https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?sectionNum=2314.&lawCode=COM">UCC section
- 2-314</a> is a promise that “the goods”—the Software—are
- of at least average quality, properly packaged and labeled,
- and fit for the ordinary purposes they are intended to serve.
- This warranty applies only if the one giving the software is a
- “merchant” with respect to the software, meaning they deal in
- software and hold themselves out as skilled in software.</p>
- </li>
- <li>
- <p>The implied warranty of “fitness for a particular purpose” under
- <a href="https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?sectionNum=2315.&lawCode=COM">UCC section 2-315</a> kicks in when the seller knows the
- buyer is relying on them to provide goods for a particular purpose.
- The goods need to actually be “fit” for that purpose.</p>
- </li>
- <li>
- <p>The implied warranty of “noninfringement” is not part of the UCC,
- but is a common feature of general contract law. This implied
- promise protects the buyer if it turns out the goods they received
- infringe somebody else’s intellectual property rights. That would
- be the case if the software under The MIT License didn’t actually
- belong to the one trying to license it, or if it fell under a
- patent owned by someone else.</p>
- </li>
- </ol>
-
- <p><a href="https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?sectionNum=2316.&lawCode=COM">Section 2-316(3)</a> of the UCC requires language opting
- out of, or “excluding”, implied warranties of merchantability and
- fitness for a particular purpose to be conspicuous. “Conspicuous”
- in turn means written or formatted to call attention to itself, the
- opposite of microscopic fine print meant to slip past unwary consumers.
- State law may impose a similar attention-grabbing requirement for
- disclaimers of noninfringement.</p>
-
- <p>Lawyers have long suffered under the delusion that writing anything
- in <code class="highlighter-rouge">ALL-CAPS</code> meets the conspicuous requirement. That isn’t true.
- Courts have criticized the Bar for pretending as much, and most
- everyone agrees all-caps does more to discourage reading than compel
- it. All the same, most open-source-license forms set their warranty
- disclaimers in all-caps, in part because that’s the only obvious way
- to make it stand out in plain-text <code class="highlighter-rouge">LICENSE</code> files. I’d prefer to
- use asterisks or other ASCII art, but that ship sailed long, long ago.</p>
-
- <h3 id="limitation-of-liability">Limitation of Liability</h3>
-
- <blockquote>
- <p>In no event shall the authors or copyright holders be liable for any
- claim, damages or other liability, whether in an action of contract,
- tort or otherwise, arising from, out of or in connection with the
- Software or the use or other dealings in the Software.</p>
- </blockquote>
-
- <p>The MIT License gives permission for software “free of charge”, but
- the law does not assume that folks receiving licenses free of charge
- give up their rights to sue when things go wrong and the licensor is
- to blame. “Limitations of liability”, often paired with “damages
- exclusions”, work a lot like licenses, as promises not to sue.
- But these are protections for the <em>licensor</em> against lawsuits
- by <em>licensees</em>.</p>
-
- <p>In general, courts read limitations of liability and damages exclusions
- warily, since they can shift an incredible amount of risk from
- one side to another. To protect the community’s vital interest in
- giving folks a way to redress wrongs done in court, they “strictly
- construe” language limiting liability, reading it against the one
- protected by it where possible. Limitations of liability have to be
- specific to stand up. Especially in “consumer” contracts and other
- situations where those giving up the right to sue lack sophistication
- or bargaining power, courts have sometimes refused to honor language
- that seemed buried out of sight. Partly for that reason, partly by
- sheer force of habit, lawyers tend to give limits of liability the
- all-caps treatment, too.</p>
-
- <p>Drilling down a bit, the “limitation of liability” part is a cap on
- the amount of money a licensee can sue for. In open-source licenses,
- that limit is always no money at all, $0, “not liable”. By contrast,
- in commercial licenses, it’s often a multiple of license fees paid
- in the last 12-month period, though it’s often negotiated.</p>
-
- <p>The “exclusion” part lists, specifically, kinds of legal
- claims—reasons to sue for damages—the licensor cannot use.
- Like many, many legal forms, The MIT License mentions actions “of
- contract”—for breaching a contract—and “of tort”. Tort rules
- are general rules against carelessly or maliciously harming others.
- If you run someone down on the road while texting, you have committed
- a tort. If your company sells faulty headphones that burn peoples’
- ears off, your company has committed a tort. If a contract doesn’t
- specifically exclude tort claims, courts sometimes read exclusion
- language in a contract to prevent only contract claims. For good
- measure, The MIT License throws in “or otherwise”, just to catch the
- odd admiralty law or other, exotic kind of legal claim.</p>
-
- <p>The phrase “arising from, out of or in connection with” is a recurring
- tick symptomatic of the legal draftsman’s inherent, anxious insecurity.
- The point is that any lawsuit having anything to do with the software
- is covered by the limitation and exclusions. On the off chance
- something can “arise from”, but not “out of”, or “in connection
- with”, it feels better to have all three in the form, so pack ‘em in.
- Never mind that any court forced to split hairs in this part of the
- form will have to come up with different meanings for each, on the
- assumption that a professional drafter wouldn’t use different words
- in a row to mean the same thing. Never mind that in practice, where
- courts don’t feel good about a limitation that’s disfavored to begin
- with, they’ll be more than ready to read the scope trigger narrowly.
- But I digress. The same language appears in literally millions
- of contracts.</p>
-
- <h2 id="overall">Overall</h2>
-
- <p>All these quibbles are a bit like spitting out gum on the way
- into church. The MIT License is a legal classic. The MIT License
- works. It is by no means a panacea for all software IP ills, in
- particular the software patent scourge, which it predates by decades.
- But MIT-style licenses have served admirably, fulfilling a narrow
- purpose—reversing troublesome default rules of copyright, sales,
- and contract law—with a minimal combination of discreet legal tools.
- In the greater context of computing, its longevity is astounding.
- The MIT License has outlasted and will outlast the vast majority of
- software licensed under it. We can only guess how many decades of
- faithful legal service it will have given when it finally loses favor.
- It’s been especially generous to those who couldn’t have afforded
- their own lawyer.</p>
-
- <p>We’ve seen how the The MIT License we know today is a specific,
- standardized set of terms, bringing order at long last to a chaos
- of institution-specific, haphazard variations.</p>
-
- <p>We’ve seen how its approach to attribution and copyright notice
- informed intellectual property management practices for academic,
- standards, commercial, and foundation institutions.</p>
-
- <p>We’ve seen how The MIT Licenses grants permission for software to all,
- for free, subject to conditions that protect licensors from warranties
- and liability.</p>
-
- <p>We’ve seen that despite some crusty verbiage and lawyerly affectation,
- one hundred and seventy one little words can get a hell of a lot of
- legal work done, clearing a path for open-source software through a
- dense underbrush of intellectual property and contract.</p>
-
- <hr />
-
- <p>I’m so grateful for all who’ve taken the time to read this rather long
- post, to let me know they found it useful, and to help improve it.
- As always, I welcome your comments via <a href="mailto:kyle@kemitchell.com">e-mail</a>, <a href="https://twitter.com/kemitchell">Twitter</a>, and
- <a href="https://github.com/kemitchell/writing.kemitchell.com/tree/master/_posts/2016-09-21-MIT-License-Line-by-Line.md">GitHub</a>.</p>
-
- <p><a name="further-reading"></a>A number of folks have asked where
- they can read more, or find run-downs of other licenses, like the
- GNU General Public License or the Apache 2.0 license. No matter what
- your particular continuing interest may be, I heartily recommend the
- following books:</p>
-
- <ul>
- <li>
- <p>Andrew M. St. Laurent’s <em><a href="https://lccn.loc.gov/2006281092">Understanding Open Source & Free Software
- Licensing</a></em>, from O’Reilly.</p>
-
- <p>I start with this one because, while it’s somewhat dated, its
- approach is also closest to the line-by-line approach used above.
- O’Reilly has made it <a href="http://www.oreilly.com/openbook/osfreesoft/book/">available online</a>.</p>
-
- </li>
- <li>
- <p>Heather Meeker’s <em><a href="https://www.amazon.com/dp/1511617772">Open (Source) for Business</a></em></p>
-
- <p>In my opinion, by far the best writing on the GNU General Public License
- and copyleft more generally. This book covers the history, the
- licenses, their development, as well as compatibility and compliance.
- It’s the book I lend to clients considering or dealing with the GPL.</p>
-
- </li>
- <li>
- <p>Larry Rosen’s <em><a href="https://lccn.loc.gov/2004050558">Open Source Licensing</a></em>, from Prentice Hall.</p>
-
- <p>A great first book, also available for free <a href="http://www.rosenlaw.com/oslbook.htm">online</a>. This is
- the best introduction to open-source licensing and related law for
- programmers starting from scratch. This one is also a bit dated
- in some specific details, but Larry’s taxonomy of licenses and succinct
- summary of open-source business models stand the test of time.</p>
-
- </li>
- </ul>
-
- <p>All of these were crucial to my own education as an open-source
- licensing lawyer. Their authors are professional heroes of mine.
- Have a read! — K.E.M</p>
-
- <hr />
-
- <p>I license this article under a
- <a href="https://creativecommons.org/licenses/by-sa/4.0/legalcode">Creative Commons Attribution-ShareAlike 4.0 license</a>.</p>
-
- <p><a href="http://www.opensourceinitiative.net/edu/MIT-License/">Russian</a>, <a href="http://postd.cc/mit-license-line-by-line/">Japanese</a>, and <a href="https://edu-helper.org/p28/">Ukrainian</a> translations are available.</p>
|