<div dir="ltr">Hello,<div><br></div><div>I found something that could be interesting for you : the <i>command=""</i> that you can put at the beginning of the corresponding line of your $HOME/.ssh/authorized_keys. For this to work, you must use rsync with rsa/dsa keys.</div>

<div style>$HOME/.ssh/authorized_keys should have one line like this on the server host :</div><div style><span style="font-size:13px"><font face="courier new, monospace">command="rsync --server --sender -Phaz --copy-links --copy-dirlinks . /backup/path/" ssh-rsa YourVeryLongSSHKey...</font></span><br>

</div><div style><span style="font-family:arial,sans-serif;font-size:13px">Note that this will override all options passed to rsync on the client side.</span></div><div style><span style="font-family:arial,sans-serif;font-size:13px">See this link : </span><font face="arial, sans-serif"><a href="http://learninginlinux.wordpress.com/2009/05/07/rsync-fixed-server-side-options/">http://learninginlinux.wordpress.com/2009/05/07/rsync-fixed-server-side-options/</a></font></div>

<div style><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div style><span style="font-family:arial,sans-serif;font-size:13px">Greg</span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">

On Tue, Dec 18, 2012 at 10:13 AM, wesley <span dir="ltr"><<a href="mailto:wesley@tormail.org" target="_blank">wesley@tormail.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

I'm trying to figure out if there is some way to run an rsync daemon which makes a mix of "real" and symlinked folders available to a client such that all the folders appear as "real" to the client.<br>


<br>
I realize the --copy-links and --copy-dirlinks accomplish this when invoked from the client side (and that is currently how I am accomplishing this). Is there any way to essentially "force" those options from the daemon end? So that to a client, a symlinked dir will always appear as the referent dir.<br>


<br>
If not, then if at all possible, I would like to block the referent dir from showing up in the log output on the client side. If the client is printing --progress output to the terminal, or is tailing the log output, rsync will indicate when a directory is a symlink and print the dereferenced directory. Is there any way to prevent rsync from printing drreferenced directory info? Printing this info to the client can leak potentially sensitive information about the filesystem/usernames/etc on the server running rsyncd, which is part of the reason why symlinks are being used (to present a consistent "clean" set of read only dirs that may be downloaded from). Presenting the referent dir paths leaks information that it would be preferable not to leak.<br>


<br>
Thanks to anyone that can point me in the right direction (or letting me know if it's not possible). If it's not possible, would very much appreciate if it could be considered as a feature enhancement to the rsyncd because of the privacy implications of leaking referent path data to clients.<span class="HOEnZb"><font color="#888888"><br>


<br>
-- <br>
Wesley<br>
<br>
-- <br>
Please use reply-all for most replies to avoid omitting the mailing list.<br>
To unsubscribe or change options: <a href="https://lists.samba.org/mailman/listinfo/rsync" target="_blank">https://lists.samba.org/<u></u>mailman/listinfo/rsync</a><br>
Before posting, read: <a href="http://www.catb.org/~esr/faqs/smart-questions.html" target="_blank">http://www.catb.org/~esr/faqs/<u></u>smart-questions.html</a><br>
</font></span></blockquote></div><br></div>