I have setup FTP between 2 remote systems and scripts are set up on both the system to Archive and Extract the file. So the script in the source Archives(tar) file and the script on the destination (extracts) the file. After each FTP transfer, I notice that files copied in the destination have write permission missing in the group(rwxr_xr_x).
I have checked manually creating the file and also the umask value of the user and when creating a file manually, it creates with write permission for the group user. This seems to be limited to only this FTP operation. Any Ideas?