rsync filter parameter in rsyncd.conf file

Kevin Korb kmk at
Wed Oct 8 21:52:50 MDT 2014

Hash: SHA1

OK, I will admit that I am not that knowledgeable about rsyncd.  I
have been moving TBs of data through rsync since 2001 and I have never
found a reason to run rsyncd.

That being said, try...

I have not actually tried this myself so I might be completely wrong.

On 10/08/2014 11:47 PM, Romel Khan wrote:
> "filter/include/exclude in rsyncd.conf only controls what files on
> the server a client can access": OK say I want to do that and only
> allow access to file called temp1 on the server. What do I need to
> enter in the config file? The following does not seem to do
> anything: include = temp1 filter = - *
> On Wed, Oct 8, 2014 at 10:29 PM, Kevin Korb <kmk at 
> <mailto:kmk at>> wrote:
> The server has no idea what file the client is sending it (even if
> it did the client would be free to lie).  The server only knows
> what file the client is asking to change/create/delete on the
> server.
> You can certainly confine the client to the /n2p/cfg directory
> through rsyncd.conf or rrsync but you can't really control what the
> client intends to put there.
> filter/include/exclude in rsyncd.conf only controls what files on
> the server a client can access.
> On 10/08/2014 10:15 PM, Romel Khan wrote:
>> I would like to push a file, /home/cfg/temp, from client to a 
>> server with rsync in daemon mode to /n2p/cfg directory. How
>> should I set the filter/include/exclude parameters on the server
>> side rsyncd.conf file so server will disallow receiving any files
>> from the client other than /home/cfg/temp?
> -- Please use reply-all for most replies to avoid omitting the
> mailing list. To unsubscribe or change options: 
> Before posting,
> read:

- -- 
	Kevin Korb			Phone:    (407) 252-6853
	Systems Administrator		Internet:
	FutureQuest, Inc.		Kevin at  (work)
	Orlando, Florida		kmk at (personal)
	Web page:
	PGP public key available on web site.
Version: GnuPG v2


More information about the rsync mailing list