making sure of file ownerships to prevent permission errors