rsync 2.5.5 - Utilizing "exclude from" in rsync.conf

Paul Slinski pauls at globaliqx.com
Fri Apr 26 08:35:38 EST 2002


I am attempting to utilize the exclude from option in my rsync configuration 
file (rather than maintain lists on users machines) but it does not appear to 
be working.

One example, I placed *.mp3 in the file to keep them from syncing mp3 files to 
the server and jamming up space. But rsync just seems to ignore this and 
syncs the files anyway without any errors to the syslog.

All of my configurations are in /etc

Here is rsyncd.conf
pid file = /var/run/rsyncd.pid
max connections = 2
use chroot = yes
motd file = /etc/rsyncd.motd
log file = /arch1/sync/rsync.log

[test]
        path = /arch1/sync/paul
        list = false
        read only = false
        uid = 900
        gid = 900
        exclude from = /etc/rsyncd.excludes
        auth users = paul
        secrets file = /etc/rsyncd.secrets
        hosts allow = 192.168.10.10

---------------------
And file permissions
-rw-r--r--    1 root     root          355 Apr 26 11:21 /etc/rsyncd.conf
-rw-r--r--    1 root     root          344 Apr 26 10:20 /etc/rsyncd.excludes
-rw-r--r--    1 root     root          242 Apr 26 10:36 /etc/rsyncd.motd
-rw-------    1 root     root           14 Apr 26 10:34 /etc/rsyncd.secrets

I've looked around the web and archives for an answer, so now I turn to you.
Any suggestions are welcome.

-- 
Paul Slinski
System Administrator
Global IQX
http://www.globaliqx.com/
pauls at globaliqx.com





More information about the rsync mailing list