I have this file with a permission of 664. After I transferred the file using
, I tried to check the file and noticed that the file permission is already 640.
I would like to know why the file permission was changed. Is this the default umask
on the other server? If so, how can we override this behavior such that the file permission of all files transferred is preserved?