英文:
Legal Entitlement to Copy and Distribute Public GitHub Repository for Non-Commercial and Commercial Use
问题
我在GitHub上有一个公开仓库,目前没有附加任何许可证。我想知道如果有人从我的仓库复制和分发代码,无论是用于非商业还是商业用途,是否会涉及法律责任。
是否有人在法律上有权从未经许可的公开GitHub仓库复制和分发代码,或者是否有任何限制以保护原始作者的权利?我将感激任何关于这个问题的见解或相关的法律参考。
注意:这个问题纯粹是假设性的,我目前并没有怀疑任何未经授权使用或盗窃我的代码。我只是寻求未来参考的澄清,以确保我的工作受到保护。
英文:
I have a public repository on GitHub that currently does not have any license attached to it. I am curious about the legal implications of someone copying and distributing the code from my repository, whether it is for non-commercial or commercial use.
Is anyone legally entitled to copy and distribute the code from an unlicensed public GitHub repository, or are there any restrictions in place to protect the original author's rights? I would appreciate any insights or relevant legal references regarding this matter.
Note: This question is purely hypothetical, and I do not currently suspect any unauthorized use or theft of my code. I am simply seeking clarification for future reference and ensuring the protection of my work.
答案1
得分: 1
在大多数国家,版权自原创作品以固定形式表达的瞬间生效(例如纸上或数字形式)。版权通常限制人们复制和分发这些作品,但也有一些例外情况。
例如,在大多数地方,合理使用或公平交易允许复制少量代码或文本以进行公平评论。因此,在美国或加拿大法律下,我可以复制您的代码的小部分内容,用于表扬或批评,用于评论风格等等。根据法律,您无法阻止这种使用。
此外,通过在GitHub上发布代码,您同意根据服务条款授予GitHub和用户一些权利。因为在许多情况下,编译和运行代码不受法律限制,如果您授予GitHub及其用户下载的权利,无论是隐式还是明示的,人们都可以在自己的系统上无法受到法律限制地使用它。
然而,总体复制和分发通常受版权法限制,人们不能在未经版权持有人同意的情况下合法这样做。如果您没有授予许可或其他权限,那么通常法律禁止这些行为。在某个国家可用的权利取决于您的国家和另一个国家签署的条约以及该国的国家法律。值得注意的是,伊朗和一些其他国家不是大多数版权条约的缔约方,因此根据当地法律,您从其他国家获得的版权可能毫无意义和效力。
一些国家还对可能侮辱作者的修改或使用(例如打印您的代码并将其用作厕纸的表演)或可能取消作者被确认为其创作者的权利有限制。这些被称为道德权利,可能会根据当地法律而不同地被弃权或保留。
无论如何,如果您对法律有疑问,应该咨询您所在司法管辖区内的持牌律师或其他法律专业人士。我提供这些信息仅作为我理解的法律的简要摘要;我不是律师,这不是法律建议。
英文:
In most countries, copyright attaches to original works of authorship at the moment they're expressed in a fixed form (e.g., on paper or in a digital form). Copyright typically restricts people from copying and distributing such works, with some exceptions.
For example, in most locales, fair use or fair dealing permits copying small snippets of code or text for fair commentary. Thus, under U.S. or Canadian law, I could copy small segments of your code to praise or criticize it, to comment on a stylistic approach, or other similar things. You would not have legal rights to prevent such usage under the law.
In addition, by posting code on GitHub, you agree to grant GitHub and users some rights according to the terms of service. Because in many cases compiling and running code is not restricted by law, if you grant GitHub and its users the right to download it, implicitly or explicitly, people might be able to make use of it on their own systems without legal restriction.
However, in general, wholesale copying and distribution is restricted by copyright law, and people cannot legally do so without the consent of the copyright holder. If you have not granted a license or other permission, then those acts are usually forbidden by law. What rights are available in a certain country depends on the treaties that your country and the other one have signed and the national law of that country. (Notably, Iran and some other countries are not parties to most copyright treaties, so, depending on local law, your copyright from another country may be meaningless and ineffective.)
Some countries also have restrictions on modifications or usages that might dishonour the author (e.g., printing out your code and using it in a performance as toilet paper) or that might remove the right of the author to be identified as its creator. These are called moral rights, and may or may not be waived, depending on the local law.
As always, if you are unclear about the law, you should consult a licensed attorney or other legal professional in your jurisdiction. I provide this as a brief summary of the law as I understand it; I am not a lawyer and this is not legal advice.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论