only expire link shares

Don't expire user and group shares, only expire link shares

cc @jancborchardt