Can you chown the files outside of the container? It should be possible if you have root/sudo permissions.
chown