43

What happens if you break an open source license and include a code released under GPL in a closed source project?

Can you go to jail? Who will sue you? For what? "Not respecting the will" of those who created the free source code? Is there any support in the jurisdiction (of any state) that would put any punishment to those who do not respect software freedom?

Inspired by a question I have just seen on SO: Is it allowed to use ideas from open source in closed source, not being able to find any answer to this question.

7
  • 1
    "For what?" - for redistributing copyrighted work without permission. The License gives you that right while you conform to license requirements.
    – Andrey
    Commented Jun 30, 2010 at 13:02
  • 18
    ninja's will break in and steal your computer
    – Anthony
    Commented Jun 30, 2010 at 16:26
  • 4
    Off-topic? Maybe slightly, yes. But how does this not relate to programming? As a programmer, I want to understand the implications of my actions, be it writing code, code reuse or stealing free code.
    – Marek
    Commented Jul 1, 2010 at 6:04
  • 1
    You get successfully sued by these guys and have to put your closed source project under GPL: gpl-violations.org Commented Jul 1, 2010 at 18:23
  • 1
    People have been sued for using modified OSS in routers and set top boxes and being unwilling to cough up the code. Most have settled before the courts could rule, but I believe that a OSS license was upheld in a court in Germany. Google "busybox suit" for several instances. Commented Jul 1, 2010 at 23:05

7 Answers 7

20

Don't get legal advice from coders.

My guess: if you break the terms of a licence (not a contract, as has been pointed out) then the other party could go to court and get an order or injunction to stop you selling your software until the GPL code portions are removed. If you were to disobey the courts then the courts may well be able to fine you, send you to jail etc.

I can't begin to guess how likely such an outcome would be.

There do seem to be many less onerous licences than GPL, and lots of good stuff under those licences.

3
  • 1
    I've aways wondered how much force the licence terms "By opening this envelope you agree to ..." have. Do they constitute a contract? I'd hate to bet my house that they don't!
    – djna
    Commented Jun 30, 2010 at 13:58
  • 1
    True, @Andrey, but the the outcome predicted by the article you reference is exactly as I guessed: "prevented from distributing its product further".
    – djna
    Commented Jun 30, 2010 at 14:03
  • +1 because of the wisest advice of all
    – Chubas
    Commented Jun 30, 2010 at 14:16
14

Here is the best explanation ever: http://lwn.net/Articles/61292/ The main idea is that GPL is License, not Contract, thus not exchange of obligations.

2
  • 4
    I like this article, it's very clear and concise. Even a programmer can understand it!!
    – Gerrie
    Commented Jun 30, 2010 at 13:38
  • This link seems useful but the answer would be improved if it quoted relevant parts as links run the risk of dying. Commented Jul 18, 2023 at 10:58
13

Don't assume that just because most OSS developers will be to lazy to sue you, you'll get away with it. I know lots of OSS developers (myself included) who would just transfer the copyright of their code to the FSF if they found out you stole their code. The FSF would then go after you with a burning passion. This has happened several times.

Bottom line, don't steal from the OSS community. It's really bad karma.

2
  • 1
    "this has happened several times" - do you have any reference for this?
    – Marek
    Commented Jul 1, 2010 at 6:00
  • 3
    @Marek - Google is quite useful for answering questions like this. Or just go to the FSF site - their current stats show that their compliance section has 23 open cases. And you can find examples of these - e.g. Suit Against Cisco or GPL Enforcement in Apple's App Store. Or try gpl-violations.org. You're out of luck if you're hoping to be the first to end up in court for this kind of thing :( Commented Jul 5, 2010 at 8:30
8

I guess you might get sued by the FSF, but I believe your worst problem will be terrible PR and karma.

I've been told that there's alsoa special "bolgia" in Hell for people that do that, but I can't tell for sure.

5
  • this is not true. they will first ask you to stop using OR open your source. if you will not you will sue you.
    – Andrey
    Commented Jun 30, 2010 at 13:01
  • 1
    Terrible PR? I think exactly the opposite can happen :) - a lot of publicity for the product for being the first offender (at least I did not hear about anyone being caught stealing free source code), and in the eyes of general public, I can still shout: "I did not steal, they were giving it for free. I just took it."
    – Marek
    Commented Jun 30, 2010 at 13:13
  • 2
    @Marek: History tells us that you are wrong about this: people caught using OSS and trying to avoid their obligations have felt the pinch. Because everyone in the business (Open Source, shirkwrap, site contract, whatever) relies on licensing rules being enforceable: if they aren't all kinds of business models break.. Commented Jul 3, 2010 at 23:27
  • If you use copyright protected software without a license, or in ways that you are not licensed to use that software, you commit copyright infringement, which is a crime in many countries.
    – Carl Smith
    Commented Aug 18, 2014 at 0:54
  • This is a really good article on the subject: btlj.org/2015/11/consequences-violating-open-source-licenses Commented Apr 13, 2018 at 20:29
5

If you break an open-source license, the authors of the software would have remedies under copyright law. Should they choose to try to enforce them, the first step would be to have a lawyer send you a "cease and desist letter". It's then up to you to cease and desist or to argue that your use does not violate the license. If you can't agree with the copyright holders, maybe you agree on a settlement, where they agree not to pursue the case, perhaps in exchange for money. If it goes to court, the remedies of first resort probably include things like having the federal government force you to stop distributing the infringing work, paying monetary damages, that sort of thing. I don't think there are criminal penalties for violating copyright law, but there probably are criminal penalties (contempt of court) for willfully ignoring an order from a federal judge. Far before it gets to that stage, you should consult a lawyer.


My credentials for answering this question: I have received a cease-and-desist letter ordering me to stop misusing a trademarked term (not identical to copyright law, but similar). I responded asking the law term to point out exactly where I had misused the term, because otherwise I could not comply with a blanket request to stop misusing their trademark. I never heard back from them.

1
  • In many countries, there are criminal penalties for copyright infringement. Piracy is illegal.
    – Carl Smith
    Commented Aug 18, 2014 at 0:56
3

Presumably the copyright holders could sue to have the non-compliant project's source code released to the public licensed code removed from the project or to bring the project into compliance. This would be a civil action to enforce a contract copyright. I haven't read about any criminal implications to date.

1
1

You die in a fire. Immediately. You like burst into flames as soon as you make your first sale. Its terrible. Don't do it.

But seriously, you would get sued by whomever's code you stole. I am not a lawyer, of course, but I don't think its a criminal issue, so no jail time. If its a big enough deal, the Free Software Foundation or the Electronic Frontier Foundation might get involved, but they have no direct legal involvement.

1
  • 1
    Actually it is a criminal issue, at least in my country, and likely in other countries as well.
    – CMircea
    Commented Jul 5, 2010 at 11:42

Not the answer you're looking for? Browse other questions tagged or ask your own question.