Disclaimer: I am not looking for a legal advice here, I want to clarify the terms of the SO license.
Recently I was helping a user with his question. This was a question of the "seeking debugging help" kind. (The user had problems compiling his XML Schema in a Maven project.)
The user shared his code not directly in question but as a link to some "share" site of a pastebin-kind. He also shared a link to the .zip
file with his Maven project. The question was specifically asking for help with this Maven project. Contents are some stripped-down samples of larger, but publicly available schema.
I wanted to help the user, so I have downloaded the .zip
file and quickly fixed the project. I have then shared the results via my GitHub repo. I.e. I have created a test project there, wrote a new pom.xml
(project file in Maven) and added the schema and sample files from the user's .zip
. The user basically got an anwer "this is what the problem was and here's a working project for you".
The question was later on closed as being to broad. Closing was initiated by me after I learned few things in another thread here on meta.
The user then found out that his question was closed and took it personally. He also complained that he did not authorize me to share his code on GitHub.
I have removed the code and apologized.
An this is where I'm getting to my question.
Could please someone help me to clarify the license applicability terms to the linked code on external websites in questions seeking debugging help?
From one side, if you ignore all the details of me trying to help out, this looks like a copyright infringement. I have taken something from web and put it in my GitHub repo. Not good.
From the other side, this was a content shared as link on SO specifically asking for help. Claiming a copyright infringement on this code against the person tried to help and helped is not just nonsense, it damages the good faith SO operates on.
Consider the following situation: user A asks for help and shares his code snippet on pastebin, user B finds the mistake and posts the corrected code directly in the answer. If we assume that user's A copyright claim against user B is sound, user B is in danger.
In this case all links to external sites in questions seeking debugging help put those who want to help in danger. Unless an explicit permission is given and linked code has a proper license attribution (this is, of course, never the case), it makes anyone who answers and shares code in the answer potentially vulnerable to copyright claims.
Could you please help me to clarify this?
Relevant posts:
- Link only answers to sites containing code which cannot be put under the cc by-sa license
- https://softwareengineering.stackexchange.com/questions/12171/how-does-fair-use-apply-to-code-snippets
- What is up with the source code license on Stack Overflow?
- Do I have to worry about copyright issues for code posted on Stack Overflow?
I've read these above but could not find exactly my case there. This case is about linked code but specifically linked to be helped with. It is different from sharing the code within the post or just linking to "some" code (i.e. some SVN or GitHub repo).