Set file resource default mode attribute to 777