Per default, code snippets posted on Stack Overflow are licensed under CC BY-SA-*; see https://stackoverflow.com/help/licensing. This includes a share-alike obligation and attribution obligation, both killing the idea of creating a prospering source of public code snippets/tiny solutions that serve humanity's software development and make the world a better place. I assume that I will not be able to change the licensing model of Stack Overflow in general. Therefore, I would like to provide at least my work in a maximally permissive way (e.g. BSD-0).
On the one hand, in former discussions, there are posts that claim you could do this by comments in
- your code (see, e.g., https://meta.stackexchange.com/a/214645/274594) or
- your profile (see, e.g., https://meta.stackexchange.com/a/12539/274594).
On the other hand, https://stackoverflow.com/help/licensing does not mention an option of post-specific or user-specific licenses and sounds very factual about CC BY-SA:
[...] all publicly accessible user contributions are licensed under Creative Commons Attribution-ShareAlike license as follows [...]
This raises my questions:
- What is true? Can I specify the license of my code snippets individually, or does Stack Overflow as host own the right to specify this without exceptions?
- If possible, how can I do this correctly a) per code snippet and b) per profile?
- Stretch: Do you see any option to change something on Stack Overflow in general, e.g., changing the general license concept or at least updating the documentation to mention user-/post-specific licenses?