I work for a large corporation and I want to keep my skills fresh. I think contributing to an open source project would help, especially if I ever want a job at a startup. I have heard that large companies often own any development employees do outside of work. Could I face legal consequences by contributing to an open source project without notifying my employer? Could I be putting an open source project at risk if I contributed to it while employed? If refrained from contributing due to legal reasons and I applied to another company where open source development experience is expected, would they understand or would my application go in the trash bin?
-
2I think this is a very individual question, based on your specific contract. – sevenseacat May 06 '11 at 00:12
-
10We know nothing about your employer, your contract, or even what country you're in. This question is impossible to answer. – Mike Baranczak May 06 '11 at 00:58
-
6It's a sad world that we live in that you even need to ask this question. – May 06 '11 at 18:54
4 Answers
There are two real questions here. The first is what are you liable for. The second is whether you should be concerned. Those two have different answers.
I'll first answer the first to the best of my ability. I am not a lawyer, and this is not legal advice. If you are concerned, check your employment contract, and consult with a lawyer. But I can summarize the situation in two states.
In New York state, you are likely to be a professional employee. A professional employee has no set hours, and no set workplace. If you go out to dinner with a client, you're at work. If you figure out how to solve something in the shower, that belongs to your employer. As a professional employee the default, which is likely also in your contract, is that all of the software that you write is a work for hire that belongs to your employer. The prevalence of this kind of arrangement is one of the reasons that the FSF requires copyright assignment, and requires your employer to sign off on it.
In California the situation is different. As long as the software that you write does not relate to anything your employer is doing, anything done on your own time with your own equipment belongs to you, and this right cannot be signed away. However if you're independently developing the same thing that your employer is, it is probably going to be owned by your employer. Even if it was a secret project that you did not know about. Whether this case is important depends on the details of what you are working on, and what your employer is working on.
So you see that there is no simple answer. Depending on the state, and the facts of your situation, you might or might not own your own work. And if you don't own it, you have no right to license it.
Now on to the practical issue. What the law says determines what will happen should a dispute arise and be taken to a judge. However it is very uncommon in practice for disputes to arise and be taken to judges. Furthermore many employers either don't care, or positively like, their employee contributing to open source work. Particularly if the project is one that the company finds useful and they would like you to develop expertise with it. Frequently procedures exist to get OKs for you to perform such work. It doesn't hurt to check.
Furthermore if you contribute to open source work, despite the fact that it is unclear whether you have a right to do so, the odds are pretty good that you actually won't get in trouble for doing so. And if you do get into trouble, the odds are that you'll get a slap on the wrist and be told to take stuff down, rather than suffering large legal penalties. Is the remaining possible risk within your comfort zone? That is up to you. But I can tell you that there are a lot of people doing it, and fairly few stories of people running into trouble. (And in the stories that exist, usually there was some other cause of trouble, and the fallout for their open source work is a consequence.)

- 18,250
- 1
- 49
- 75
You'd have to look in your contract to see if it said anything about that, but if such a provision did exist, in many jurisdictions it could be safely ignored as unconscionable and unenforceable.
Standard disclaimer: I am not a lawyer, and this is not legal advice. Just common sense, which as we all know is frequently found to conflict with actual laws or court rulings, especially where software is involved.

- 82,151
- 24
- 234
- 309
-
2Your wishful thinking notwithstanding it is actually my understanding that in the USA there are more states where such a provision could either be enforced or is the default than there are states where the reverse is true. Yet another example of why nobody should trust legal advice from a site like this. – btilly May 06 '11 at 01:54
-
2@btilly: most develoers are outside the USA, so the caveat that in some parts of one country this may not apply doesn't mean it's not a useful answer. I think the disclaimer covers that nicely. – May 06 '11 at 02:11
-
@moz: Do you really think that the legal situation is that different in other countries? I don't know one way or another, but wouldn't care to take bets without consulting a knowledgable lawyer. – btilly May 06 '11 at 02:14
-
1@btilly: According to the legal advice I paid for in New Zealand @Mason's answer is correct. I have been told unofficially that the same is true in Australia. Over here it's in the same category as employers refusing to permit you to work a second job - they can, but they must have a very good reason. – May 06 '11 at 03:04
-
1Regardless of the legal status, if your employer forbids it and you do it then you can still get fired. – Steve May 06 '11 at 08:53
-
1@btilly: The legal situation is considerably different in different states of the US. In Minnesota, you own what you create outside of work not using your employer's stuff. In some other state (can't come up with it offhand), an ex-employee was ordered by a court to implement an idea he'd had while employed and tried to develop on his own time. I'd expect laws of different countries to vary even more. – David Thornley May 06 '11 at 15:29
Talk to the companies legal department. Any good employer of developers should understand and encourage it (they may even pay you for it (google's 20% time is an example) if the OS project is useful enough), but it's much better to be safe in this kind of situation.
If they say it's fine and that they won't take the code, get it in writing.
If they try to take the code later on you have your ass (and that of the project) covered...
The worst they can say is "no"

- 666
- 1
- 4
- 8
-
3Google is an exception. If you talk to your employer, they most likely think "aha, this guy sure has too much time on his hands to spend it on side projects, he must be slacking on his day job" In other words, talk at your risk :-) – artem May 06 '11 at 00:55
-
1@artem: I think it really depends on the company in question. I'm pretty sure some would be quite happy about it... – Trezoid May 06 '11 at 00:59
-
Make sure you can legally contribute code to an open source project. This may be a matter of living in the right jurisdiction, having an employment contract that specifies you own what you create, or having specific permission from your employer (from somebody who has the authority to grant that, which may not be your manager).
Otherwise, the OS project is in danger. It may be hit with a lawsuit, and OS projects are usually not set up to defend. If your employer cares, the OS project is likely to be legally forced to remove your contribution, at which point you've definitely harmed the project. Other projects that used your code may also be at risk.
I'm not addressing the problems you may face. Those are your considerations, and you can decide for yourself is you want to risk being fired and possibly even sued. I'm addressing the problems you may cause to a project you're trying to help.

- 20,238
- 2
- 55
- 82