@yogthos It honestly depends on the license. A number of idealistic people developed the "free as in speech" copyright concept in the 1960s and 1970s. Then there was the "copyleft" idea, and there isn't even one GPL, there are like five variants.

Meanwhile the BSD license exists, in a few clauses, is quick and easy to read, and just says "do whatever you want, just retain the author's name in the source and don't sue us when something breaks." Very capitalism-friendly.