Cloud sync sftp excludes not working due to root user

Hi!

I use a sync in the “other” direction every example talks about..

I want to sync FROM an sftp server TO truenas.

truenas user: mike, sftp user name is also mike

but all files from cloud sync are assigned to root (either unix or ACL file perms set)

that’s why newly applied “excludes” do not work.

eg. I want to sync a Directory /Lightroom/

but I want to exclude /Lightroom/Cache, so it remains on the SFTP source, but does not on trueNAS

  • /Lightroom/Cache/**

well.. if there already was synced a Cache-dir before, it’s never again deleted.

If I have the exclude set with the very first sync, the Cache-Dir is not created, as expected by the “exclude” setting.

or am I doing smth wrong? or is there a bug? (tried on scale 25.4 and 25.10.1)

regards

Mike

ahh, one more finding/addition:

with SYNC, the cloud sync does not delete the folder, but at least, it is not adding files to it! so it’s just a bug of doing the deletion right!

regards

Mike