I am using FreeFileSync to syncronize files between two computers running Ubuntu 20.04 using SFTP. Some of these files are python files that were made executable with the command
chmod +x file.py
In the options of FreeFileSync, I have "Copy file access permissions" checked.
However, after the sync is complete, the python file is no longer an executable on the other computer. This isn't a problem if I simply copy the file via SFTP with an application such as FileZilla.
I tried synching between two folders on one computer instead of across two computers and the permissions were preserved. So the problem only happens with SFTP.