Hi,
I tried quite a few things, but it was mostly
Code:
rsync -a localhost::target .
and
Code:
rsync -a --chmod=Da+rwx locahost::target .
I copied from localhost just to get this problem isolated, but the actual problems are with an rsync-client embedded into a NAS, of which I don't know the options used. Still, the fact that the above gives directory permissions Drwx------ is something I don't understand.
For the server side I've tried various things, like use chroot = yes and use chroot = no, changing uid and gid (which gives permission errors), fake super = yes doesn't seem to do anything either, outgoing chmod doesn't do anything (on directories, it does on files however)...
Filesystem is ext4, for both server and client in this case. I don't know about the filesystem of the NAS, but I'd rather like to get this fixed locally, I think that might solve the issue on the NAS as well.
Any idea what might be happening?