After copying files from Ubuntu to Windows using rsync on ssh, the copied files and folder have permissions that only creator have full access and other users including SYSTEM and Administrators have only special permissions.
Sometimes other users can’t open or copy the files.
When opening Properties ➝ Security for the files/folders received message “The permissions on <file/folder name> are incorrectly ordered, which may cause some entries to be ineffective”
Only after running the command icacls "<path to the folder where stored problematic files>" /reset /T /C
, other users can use the files/folders correctly
Ubuntu machine: Ubuntu 20.04.6 LTS (GNU/Linux 5.10.120-tegra aarch64)
Windows machine: Windows 11 pro. OS build: 22557.1
On windows installed rsync using cygwin
Anyone knows how to solve it?
Thanks in advance