On linux, Bitcoin Core stores the blockchain and wallet files in the users home folder (~/.bitcoin). This is bad because if you have multiple users using Bitcoin Core, you'll have a copy of the blockchain in each users home folder, when you only need 1 copy.
I'd like to store the blockchain outside of the home folders, but keep the wallet files inside the home folders. What is the best way to do this?