I don’t know which existing files UE4 writes into. You could try setting the permissions on the files one by one and see how many you end up changing.
I will say though… the files that are written to automtically like log files and such shouldn’t be in the repo to begin with so Perforce shouldn’t hold on to them. It definitely seems like your repo is misconfigured.