Fix to ensure sensible permissions on details.txt