55

Years ago somebody created a bunch of really awesome and popular scripts. But they were not updated for a long, now they no-longer work (target platform were updated, and some changes are needed).

He hasn't released it under any license. I want to fix the bug (currently, many of the target users can't use it), and post it on GitHub, preferably under a public-domain style OSS license. I wonder what the legal ramifications might be?

I have sent an email to the author, but (let's say) he didn't reply to my email.

What we should do in the following this into 2 cases:

  • If the script is posted on a private website (without any source control).
  • If the script is posted on GitHub (without any licensing hints).

However, one can clearly see, that it seems open source - intended to be used/modified/whatever.

T.Todua
  • 145
  • 9
Abhi Beckert
  • 762
  • 1
  • 6
  • 11
  • 5
    Be sure you know what ["public domain"](http://en.wikipedia.org/wiki/Public_domain) really means. If something has a license, it's not public domain. – Keith Thompson May 11 '12 at 00:04
  • 1
    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 03:24
  • 4
    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 05: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. – Martin York May 11 '12 at 06: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 06:41
  • @AbhiBeckert, it is not necessary to create a license for that. The author issues a statement saying "This work is placed in the public domain." That's all that's required. Such a declaration is irrevocable: once something is placed in the public domain, that work can NEVER be taken private. Now, once a work has been placed in the public domain, nothing can stop anyone else from making a PRIVATE derivative work and doing whatever they want with that work, including charging big bucks for it. Much of the "open source" licensing stuff is for avoiding this "issue". – John R. Strohm May 11 '12 at 09:34
  • 1
    @John R. Strohm: IANAL but I think you are wrong. In the US someone may declare that they place their work in the public domain, but it doesn't really mean anything, and they may choose to reassert their copyright at any time until it expires. – sourcenouveau May 11 '12 at 14:12
  • 1
    @JohnR.Strohm: Unfortunately it is not as easy as you think: [What is wrong with the Unlicense?](http://programmers.stackexchange.com/questions/147111/what-is-wrong-with-the-unlicense) – Martin York May 11 '12 at 19:39
  • @AbhiBeckert: Unfortunately there are problems with `Unlicense` (see last comment for link). Even CCO is still not public domain. – Martin York May 11 '12 at 19:42
  • @LokiAstari I didn't say public domain, you said public domain. I said "public domain style license", by which I meant "one of various licenses that try to get as close to public domain as they can". – Abhi Beckert May 15 '12 at 00:08
  • @AbhiBeckert: As pointed out by Keith. There is no such thing as "Public Domain Style License". The phrase has no meaning. – Martin York May 16 '12 at 17:50
  • Possible duplicate of [What is the "default" software license?](https://softwareengineering.stackexchange.com/questions/26548/what-is-the-default-software-license) – gnat Jan 27 '18 at 09:16
  • Not all countries have a concept of "placing in the public domain", by the way. If you just say for a piece of software that you place it in the public domain, even if that means you give up all copyright in the US, you still retain copyright in countries where this doesn't work, such as Austria and (I think) Germany. – Sebastian Redl Jan 27 '18 at 09:29

6 Answers6

61

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.

Gort the Robot
  • 14,733
  • 4
  • 51
  • 60
  • 3
    You might also want to look at the following two links: http://en.wikipedia.org/wiki/Abandonware and http://en.wikipedia.org/wiki/Orphan_works. They might provide some guidance. – Michael Jan 15 '15 at 16:59
  • 1
    Choosealicense has a pretty amazing sumary of that as well: https://choosealicense.com/no-permission/ PS: Thank you for this wonderful answer! – Michael Kargl Aug 26 '18 at 19:27
  • 2
    Where does this "personal use" exception come from? – Pedro Gimeno Dec 02 '18 at 15:53
  • Copyright law enables control over the transfer of software from one person to another. It does not cover what a person does with software in their possession. Hence, it cannot be the basis of a license that prevents you from modifying software. It can only be the basis of a license that prevents you from giving modified software to someone else. – Gort the Robot Dec 02 '18 at 16:06
  • How is software different from other kinds of works subject to copyright law in this respect? see e.g. https://www.copyrightuser.org/understand/exceptions/private-copying/ – Pedro Gimeno Dec 02 '18 at 16:28
  • I don't really know UK law to be honest. – Gort the Robot Dec 02 '18 at 17:04
  • @GorttheRobot I'm pretty sure even personal use counts as software piracy (which potentially carries a hefty punishment), except wherein it's fair use. Otherwise, we could all download pirated software legally; probably movies, music and such, too, crack as many license keys as we wanted (for ourselves only), and/or keep them if we just happened to have them in our possession; plus, we'd never have to pay for professional editions. It's a wonder most novels don't have explicit licenses (that's probably a historical exception because of implied intentions or something). – Brōtsyorfuzthrāx Sep 17 '21 at 06:12
25

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.

Michael Dean
  • 854
  • 5
  • 8
  • just as an example of something that you can see and even modify... is source code made available by a company but marked as copyright. it is copyright'd and you can see it and modify it but if you try to copy/use it... you will get in trouble. – Trevor Boyd Smith Mar 31 '20 at 21:25
17

Note: for any non-open-source code on github, you can still fork it - at least on github. This is useful because many of us will see the title "code with no license ... can I fork it?" and come here wondering about github. (I did not reproduce the words "open source" in the question text for the reasons mentioned in other answers.)

This minimal license is a result of the github terms of service and clarified in the Open Source FAQ:

What happens if I don't choose a license?

You're under no obligation to choose a license. It's your right not to include one with your code or project, but please be aware of the implications. Generally speaking, the absence of a license means that the default copyright laws apply. This means that you retain all rights to your source code and that nobody else may reproduce, distribute, or create derivative works from your work. This might not be what you intend.

Even if this is what you intend, if you publish your source code in a public repository on GitHub, you have accepted the Terms of Service which do allow other GitHub users some rights. Specifically, you allow others to view and fork your repository.

If you want to share your work with others, we strongly encourage you to include an open source license.

Here is the exact language from the Terms of Service:

... By setting your repositories to be viewed publicly, you agree to allow others to view and fork your repositories. ...

By the logic on patching, I believe this means you may even be able to upload 'patches' to your github fork, but I am not a lawyer and you should consult one if you have anything worth suing for...

To be very clear, this answer ONLY applies to github - and the terms may change over time - although other collaborative sites may have limited or permissive licenses if you search for them...

sage
  • 331
  • 2
  • 5
  • 2
    Since they're contradictory you'd have to ask a jury, not a lawyer. But I don't think GitHub's terms of service will override copyright law. GitHub does not own copyright to the code, therefore they have no right whatsoever to decide who can do what with it. The terms of service will protect GitHub but doesn't protect the person who makes a fork - they could be found guilty of criminal copyright infringement if they use the code without permission. – Abhi Beckert Jan 17 '15 at 12:35
  • 4
    @Abhi - I think that you are confusing Github making Terms of Service a requirement for site usage and the source originator's decision to accept the Terms of Service. It is the originator who is telling everybody he will "allow others to view and fork [his] repository" by accepting the terms of service and uploading the content to the public site. That being said, it may be a jury that will decide these things - but consulting one's lawyer is a good place to start. :-) – sage Jan 27 '15 at 01:02
  • allowing others to hit a fork button so they can modify the code and perhaps send a pull request is one thing - I agree adding code to github implicitly allows others to do that, but it doesn't give anybody the right to start redistributing the code elsewhere or upload it to the iOS app store and start selling it for example. That would require a license file explicitly permitting it. – Abhi Beckert Jan 27 '15 at 04:39
  • 1
    Sounds like we are in agreement, since the 'license' agreed to *only* permits forking and viewing. Technically it does not even permit downloading or executing - even without forking! In other words, every project you or I download that does not have a license would seem to expose us to risk. – sage Jan 28 '15 at 17:09
6

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.

thiton
  • 5,348
  • 1
  • 27
  • 26
  • 11
    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. – Gort the Robot May 11 '12 at 02:46
  • 3
    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. – Martin York May 11 '12 at 06:18
6

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.

MSalters
  • 8,692
  • 1
  • 20
  • 32
  • 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) :-). – Martin York May 11 '12 at 19:55
5

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.

compman
  • 1,387
  • 13
  • 21