I think it depends on where you buy it. Read the terms you agree to when ordering a book.
As I understand it, it's not allowed if you buy from amazon.
Smashwords's boilerplate copyright text includes something on the lines of "if you want to give this book away, purchase a copy for each person you want to give it to", so that would be OK. (They have a rather different selection than Amazon, though.)
|