Change permissions after mounting log and data devices