Allow for upgrades where sshfs remains mounted

Ensure that the permissions on media/ are correct
at first install but skip if it is already a
mountpoint.