Hello,
I am trying to configure rsyncd to mount destination encrypted FS
(using EncFS) before syncing.
In my rsyncd.conf :
[test]
path = /home/dest
<...>
pre-xfer exec = sleep 30 ; echo mypassword | encfs -S /home/
encrypteddir /home/dest ; sleep 30
(I have put "sleep 30" instructions just to make some tests)
/home/encrypteddir is correctly mounted by rsyncd to /home/dest
But rsyncd make a chdir() to /home/dest before executing pre-xfer.
I can see that rsyncd is already in the folder before pre-xfer doing :
lsof /home/dest
So during syncing, rsyncd does not see the content of /home/
encrypteddir mounted, but the content of local /home/dest.
Could it be possible to change this ?
Could it be possible to force rsyncd to do the chdir() after pre-xfer ?
Thank you very much,
Best regards,
AZ
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html