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.

A few years ago somebody created a bunch of really awesome and quite popular shell scripts.

They don't work in the latest version of Mac OS X, because a filepath has changed. All you need to do is edit the file path (in four different places) to make them work again.

The code is posted on a private website without any source control, the author hasn't updated them in almost a year, and this bug is fairly long standing now. It is clearly open source, and intended to be used/modified/whatever, but he hasn't released it under any license.

I want to fix the bug, and post it on GitHub, preferably under a public-domain style OSS license. I wonder what the legal ramifications might be?

The code is fairly simple (under 300 lines), but I couldn't rewrite it without reading every line of his code first.

At the very least it needs to be moved to a website that will not vanish at any time (there is a tilde in the URL... university account?), and the bug needs to be fixed since many of the target users don't know how to go in and fix it.

I have sent an email to the author, but my experience is when simple bugfixes aren't being applied to popular project, emails will never receive any response. For the purpose of this question, lets assume he will not reply to my email.

share|improve this question
5  
Be sure you know what "public domain" really means. If something has a license, it's not public domain. –  Keith Thompson May 11 '12 at 0:04
    
A "public-domain style OSS license" is one that allows modification and/or redistribution with or without attribution, and allows relicensing under any other license. –  Abhi Beckert May 11 '12 at 3:24
2  
At least in US law (disclaimer: IANAL), "public domain" has a very specific meaning; "public-domain style" does not. If something is in the public domain, it is not covered by copyright, and therefore needs no license. (I suppose you could think of it as a special case, the null license, but I suggest that's potentially misleading.) In particular, you cannot take somebody else's copyrighted intellectual property and release it to the public domain yourself. –  Keith Thompson May 11 '12 at 5:27
1  
Provide a link to the web-page maybe we can find the license or somebody here may know how to contact the author. –  Loki Astari May 11 '12 at 6:26
    
@KeithThompson it is possible to create a license that provides all of the rights that "true" public domain provides. There are several popular licenses for doing so. It's a well known and well defined term in the open source community. Unlicense and CC0 are two examples. –  Abhi Beckert May 11 '12 at 6:41

6 Answers 6

up vote 19 down vote accepted

Short answer: absolutely not.

Everything a person writes, whether it is software or text, is automatically under copyright. The default state of any text is that it is completely owned by the author and no one has rights to do anything with it without express permission of the author. A few decades ago, an author used to have to assert copyright in order to retain it, but this is no longer the case.

You can even see on sites like this legal text down there that states that I agree that this post I am typing is available under a certain license. If that wasn't there, I'd retain all rights under the law.

Thus, if you cannot find any license information, then you cannot copy or modify it for any reason other than personal use.

Making something "open source" is a deliberate act and for you to treat it as such, you have to have found a license that tells you explicitly what your rights to the software are. This is even true of "public domain" software. That is, something is only "public domain" if it has either expired copyright (which mostly means it was written decades ago) or if the author has explicitly placed it in the public domain in writing.

In the case you describe, your only recourse is to contact the author and request that he allow you to do what you ask. To do otherwise is flatly illegal and in theory could lead to damages. (In practice, of course, you'd have to get caught.)

Edit: IANAL. Talk to one if you intend to do this.

share|improve this answer

It is clearly open source

and

he hasn't released it under any license

conflict. Just because you can see and even modify the source, doesn't mean it is open source. You cannot take this work and just give it a license, as it is not your work and you have not been granted a license to do so. You need the author apply a license to the work or make his intent clear in writing.

Insert "I am not a lawyer disclaimer" here.

share|improve this answer

You cannot put the code under a different license. This is not your call to make; the original author still holds all the rights for his code. Since he put the code online, you can assume with good reason that the original author allows fair use and modification, and if your e-mails are not answered, you'll have to act on this assumption.

Put your changes under an OSS license, but leave a note with all the information about the original author and the missing license information in the code file. Then fix and redistribute.

share|improve this answer
3  
Legally speaking, you can't redistribute. The closest you can get is to create a patch file, point to the originally posted version, and tell people how to apply the patch. –  Steven Burnap May 11 '12 at 2:46
    
Fair use is a legal thing (defined in the copyright laws) not something the author implicitly allows. Just because an author makes something visible does not give you any rights to redistribute; these rights must be explicitly granted by the author. –  Loki Astari May 11 '12 at 6:18

You could try contacting the original author and asking if he would let you use the code under some suitable license and then go from there.

share|improve this answer

You can provide patches. As the distributor of those patches, you're not liable for infringement anyway (they're trivial: filepath X has become filepath Y).

The combination of the original, copyrighted work and your patches is protected as a derived work. That means the combination cannot be distributed, but that's not needed anyway: the patching will be done by (or on behalf) of the end users.

share|improve this answer
    
But he can not distribute the original (only the patches). If the originals disappear (one of the worries the OA indicates) then the patches become worthless (unless the patch is to add a space to each line (and the patch file thus includes every line) :-). –  Loki Astari May 11 '12 at 19:55

I would make the fix and publish it regardless of the legalities.

I'd just throw in a READ_ME.txt giving credit to the author and the link where the source was originally obtained from. If the author is freely giving the source to the public, he's probably a nice guy and not planning to sue you.

This could be bad advice, but it's what I would do.

share|improve this answer
3  
Hmm... Somehow I don't think the "nice guy" argument will hold in court... –  Yannis Rizos May 11 '12 at 0:03
1  
He's probably a nice guy and would not sue you, but if he's a jerk and decides to, you'd lose the case. Do you really want to be liable for monetary damages for something like this? –  Steven Burnap May 11 '12 at 2:45
    
While he may appear to be a "nice guy" for posting this source code, you do not know what other factors may affect the ownership of this code. For example, he may work for a company that as part of his employment contract contains a clause whereby his employer owns all copyright to any work he produces. You may quickly find that his employer is not so nice, and hits you with legal action over the infringement of their copyright. –  Gavin Coates May 11 '12 at 8:39
1  
Not good advice. The original developer could be a nice guy or they could be the software equivalent of a patent troll lying in wait to launch a submarine patent on an unsuspecting developer of a derivative project. –  Mark Booth May 11 '12 at 13:14
2  
Back in reality, if the author posted it with the intention that it be used by others, and it's since been abandoned, and the author doesn't respond to your attempts at contacting them, it's highly unlikely that the original author knows or cares, and republishing the work and your fixes without trying to make money off of them, with a disclaimer saying that the original license is ambiguous, is perfectly morally fine, and won't actually lead to any actual problems. If the original author reappears and asks that you take it down, then you take it down. But they won't. –  endolith May 15 '13 at 20:24

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.