<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Dec 23, 2013 at 11:42 AM, Florian Sager <span dir="ltr"><<a href="mailto:sager@agitos.de" target="_blank">sager@agitos.de</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>are you sure you tried it with the 'path' directive?<br></div></div></blockquote><div><br></div><div>Yup.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div bgcolor="#FFFFFF" text="#000000"><div></div>because e.g. the path will
    be different for different users connecting.<br></div></blockquote><div><br></div><div>No, the var %USER% won't be different in the daemon because no client environment variables affect a daemon (and you didn't mention anything about running a daemon-over-ssh connection, where the $USER would be whomever ssh-ed into the host to start the single-use daemon).  The only exceptions to this are the RSYNC_* variables that rsync itself sets for each connection (such as %<span style="color:rgb(0,0,0)">RSYNC_USER_NAME%, which is the authorizing user).</span></div>

<div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">
    But this 'delayed expansion' isn't done anywhere in the code</div></blockquote><div><br></div><div>Sure it is.  It's in all the <span style="color:rgb(0,0,0)">FN_GLOBAL_STRING() and </span><span style="color:rgb(0,0,0)">FN_LOCAL_STRING() expansions.  Otherwise none of the RSYNC_* vars would work.</span></div>

<div><br></div><div>..wayne..</div></div></div></div>