If a competitor takes your code, modifies it, and tries to sell it as a new open source project, nobody cares. It's a fork:
* For better or worse, real customers will stick with the "original brand".
* The fork won't get any of the community support the original did, and will always be out of sync.
* Whatever community forms around the original project will angrily reject the fork.
* Worst of all, any future development your competitor does on the product reverts back to your own code. You have all the structural advantages, as the original project owner. Your competitor is just playing to lose.
It's not like this is a supposition of mine. A great example of a project that executed this business plan: SourceFire/Snort (now a public company). Lots of companies have tried to piggyback on Snort, but for Snort's core customers, nobody has succeeded.
There's no clever algorithmic idea you can "hide" in closed-source code. Copycats are an issue (although far less of one than you think) regardless of your business model. Arbor Networks did all sorts of clever stuff under the hood (we were baselining the Internet backbone, after all), was closed source, and was beseiged by copycats.
I guess you're talking specifically about GPL-style copyleft, not Apache or BSD licensing?
There's an additional alternative: the competitor takes the code and adds features to it, then sells services on top of it. This is kind of a best-case scenario: you get free R&D.
* For better or worse, real customers will stick with the
"original brand".
* The fork won't get any of the community support the
original did, and will always be out of sync.
* Whatever community forms around the original project
will angrily reject the fork.
I don't believe this is always true--usually the superior* fork wins out. Take Firefox or xorg. Both of them effectively replaced the projects from which they came.* Where superior here means technically, or aesthetically or friendlier to contributers or whatever.
Eventhough I'd love to see it otherwise, any aesthetical or technical superiority would need to come in enormous figures to even challenge the position of the market leader. For a unsurprising and worn example, look at Microsoft.
On the other hand, if some company takes your code and does better both in marketing and technical aspects, you _should_ lose! The better product is better for everyone in the developer/user base, including you. The community and users don't lose anything -- instead they gain! You do gain as well because you can incorporate the other company's changes back to your own codebase -- of course you did license the software under GPL.
15 years in the business, mostly in software, and my take is if you can trade some extra competitive risk to mitigate marketing risk, that's an absolute no-brainer.
Feel free to ask me when we're going to open-source our product. I have no idea. ;)
* Listen to your customers * Provide top-quality support * Constantly improve your product
you will see loyalty and a growing business through more referrals, all of which will make the other guy look like a cheap imitation.