adjusting files permissions