rsync filter parameter in rsyncd.conf file

Romel Khan romel.khan at idt.net
Wed Oct 8 20:32:45 MDT 2014


How can I confine the client to the /n2p/cfg directory through rsyncd.conf?

On Wed, Oct 8, 2014 at 10:29 PM, Kevin Korb <kmk at sanitarium.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> 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?
> >
> >
> >
>
> - --
> ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
>         Kevin Korb                      Phone:    (407) 252-6853
>         Systems Administrator           Internet:
>         FutureQuest, Inc.               Kevin at FutureQuest.net  (work)
>         Orlando, Florida                kmk at sanitarium.net (personal)
>         Web page:                       http://www.sanitarium.net/
>         PGP public key available on web site.
> ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
>
> iEYEARECAAYFAlQ18ycACgkQVKC1jlbQAQcoTgCgnRnZ1DDaTqvyxCqWM+NJ1H51
> jDcAoOGqc7pShZ/PnD7E7RK+M2rBVjUE
> =j3MB
> -----END PGP SIGNATURE-----
> --
> Please use reply-all for most replies to avoid omitting the mailing list.
> To unsubscribe or change options:
> https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20141008/a35f86b1/attachment.html>


More information about the rsync mailing list