Delayed variable expansion for P_PATH/P_STRING is missing (loadparm.c)

Wayne Davison wayned at samba.org
Mon Dec 23 12:05:04 MST 2013


On Tue, Dec 10, 2013 at 1:28 AM, Florian Sager <sager at agitos.de> wrote:

> So I configured in the config file ($USER is set in the environment):
> >>>
> path = /home/%USER%/test
> <<<
>

$USER has to be set in the daemon's environment.  If it is set, it will be
substituted.  If it is not set, rsync leaves it unchanged.  Since it worked
fine in my testing, I'd imagine that whatever is starting your daemon
process is not setting USER.

..wayne..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20131223/642808ca/attachment.html>


More information about the rsync mailing list