chdir / chroot after pre-xfer ?
AZ 9901
az9901 at gmail.com
Wed Nov 19 21:13:41 GMT 2008
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
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the rsync
mailing list