change permissions for files and fix delete news at home from backend