Standardize permissions of transferred files