5

So my project tree is

Root:

  • Client
    • Java
  • Server
    • C
  • LICENCE
  • README.md

    and I licensed it under LGPL v2.1, so my question is, Is it possible to put the LICENCE inside Server/C and inside Client/Java (And Say that Readme.md is under LGPL v 2.1), and that i would put another folder inside Client (eg Client/Csharp ) and license the latter in a different License?

1 Answer 1

13

As this seems to be a common misconception: how you lay out your files in a filesystem or repository fundamentally has no bearing on their licensing. Assuming you are the copyright holder, you can license anything you create in any way you wish.

That said, it is good practice to make the licenses of things you create clear - if you do have mixed licenses in one project and are able to split files with different licenses into different directories, then that is a good and common way to make it clear to consumers which license(s) they need to comply with to use each bit of the project.

3
  • So i can do what i said, just that in the LICENSE that is in the main root must explain the licensing on each subdirectory properly? Commented Jun 16 at 15:19
  • 5
    You do not have to do that. You may if you wish. Commented Jun 16 at 16:18
  • 1
    Another way is to add license information to each file and all the licence text in a LICENSES directory - see REUSE reuse.software
    – mmmmmm
    Commented Jun 17 at 19:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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