reverting files' permissions