See here, media directory gets wiped every boot, I’d recommend manually mounting your drive so it’s permissions remain