Security issue: Hacking via submission in OJS 2.4.8

Do you mean that you can not give the folder ownership to the web user like it is described here:

Also, if you have had unwantes folders and files in cache, then you should check you installation. Alec is much better in giving advice about this.