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.

Lets say you don't use a license for your open source project. And you don't put anything about a license anywhere in the code..is this okay to do?

share|improve this question
5  
"Lets say you don't use a license for your open source project." An open source project without a license is an oxymoron. It isn't open source at all. –  Rein Henrichs May 30 '11 at 4:33
2  
Well, its undefined. Its neither open or closed. –  quickly_now May 30 '11 at 8:35
2  
Actually, under the Berne convention, copyright is automatic, and licenses need to be granted. With the common definitions of Open Source, that means any source is automatically closed source. –  MSalters Jul 17 '12 at 11:36
add comment

3 Answers

up vote 15 down vote accepted

Legally, in many (most?) jurisdictions you maintain copyright on what you create even if you do not specifically claim it.

As a result, if you haven't given permission to copy your code, people must legally assume that they do not have such permission. Putting a license with your code is merely a written statement outlining what you give permission to do with your code.

If you don't have a written statement like that, lawyers might get nervous because you could sue users of your code claiming that they didn't actually have permission to use it.

DISCLAIMER: I am not a lawyer, this is not legal advice.

share|improve this answer
    
+1, I would assume the same, as open source software can be proprietary. It only means that someone can view the source (e.g. to get confident about the quality and security), but says not much about usage rights. –  hakre Jun 4 '11 at 9:10
    
I'm also not a lawyer, but I believe you made a mistake. I think it means people can use the code under whatever circumstances your website implies it can be used. Which is excellent grounds for a horrible lawsuit where neither party has a leg to stand on. –  Abhi Beckert May 10 '12 at 23:24
add comment

Of course it's okay - it's your code, you can do whatever you want with it. However, if you don't specify a licence, the defaults defined by copyright law apply to your code. This may or may not be what you want. For instance, it usually means that your users cannot redistribute your code. That's a legitimate choice, but it's not what people expect when you call your application "open source".

share|improve this answer
add comment

Yes it's perfectly fine to do. You aren't obligated in any way to specify license.

However, if any of the code you are writing is from other projects that DO specify a license, you need to make sure you include the license in your project as well.

share|improve this answer
add comment

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.