Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

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?

share|improve this question
2  
I think this is a very individual question, based on your specific contract. –  sevenseacat May 6 '11 at 0:12
9  
We know nothing about your employer, your contract, or even what country you're in. This question is impossible to answer. –  Mike Baranczak May 6 '11 at 0:58
3  
It's a sad world that we live in that you even need to ask this question. –  user23157 May 6 '11 at 18:54

5 Answers 5

up vote 10 down vote accepted

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.)

share|improve this answer

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.

share|improve this answer
3  
+1 for unconscionable and unenforceable –  Steven Benitez May 6 '11 at 1:52
2  
Your 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 6 '11 at 1: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 6 '11 at 2:11
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 6 '11 at 3:04
1  
Regardless of the legal status, if your employer forbids it and you do it then you can still get fired. –  Steve Haigh May 6 '11 at 8:53

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"

share|improve this answer
1  
Google 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 6 '11 at 0:55
    
@artem: I think it really depends on the company in question. I'm pretty sure some would be quite happy about it... –  Trezoid May 6 '11 at 0:59
    
dilbert.com/fast/2011-05-08 –  Tangurena May 9 '11 at 16:28

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.

share|improve this answer

I understand your caution, but JUST GO AHEAD AND CONTRIBUTE.

It is very unlikely that anything is legally wrong with this even on paper, also unlikely that anyone at your job will even notice your contributions if you don't talk about it, and still most unlikely that you would be penalized in practice.

If it makes you more comfortable you can contribute through a handle rather than your full name.

share|improve this answer
4  
This has the potential to cause BIG PROBLEMS for the unfortunate poor soul who has to deal with the potential for lawsuits that your advice caused. –  yfeldblum May 6 '11 at 2:24
1  
lawsuits? youve gotta be kidding. the open source license should prevent any intellectual property issues unless proprietary/emerging technologies from the job are put into the projcet. if everyone had this attitude open source projects would go nowhere. do you really think every contributor is self employed or out of work? –  jon_darkstar May 6 '11 at 2:43
    
@Justice: Are you talking about the employed person contributing to the project, or the person running the possibly now tainted project? –  Andrew Grimm May 6 '11 at 3:19
    
The person running the possibly-now-tainted project. –  yfeldblum May 6 '11 at 13:28
1  
Licenses are granted by the copyright holder. If I have to copyright on some code, I can release it under any license I want, and it can be used on that basis. If I don't have copyright, then I can't issue a license for it. Therefore, if work belongs to my employer, and they don't give it an F/OS license, there is no OS license on the code. (Contributors may well be employed. Some live in places where the employer doesn't own work on the contributor's time and equipment, some signed a contract that allows them, some got specific permission.) –  David Thornley May 6 '11 at 15:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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