Two conditions are required to satisfy this definition:
Publication of the source code (the source in open-source software); and
Affording users the rights described above.
Public domain software always satisfies the second condition because there are no legal restrictions on its use. Where software is copyrighted, satisfying the second condition requires distribution of the software with a free software license from the copyright owner that grants the specified rights.