It’s a simplification of copyright law (which is bloody complicated) that is, in general, true. (As you yourself said, you can rip a CD. It’s perfectly legal. Uploading said ripped CD to a server and publishing the link is not. Fair use is part of the copyright law. The only reason you can rip a CD is because of copyright law – just what I said.)