include exclude dosn't work...
Hello rsync, I run Rsync as standalone server (--daemon). Here is my rsync.conf file use chroot = yes max connections = 10 #syslog facility = local5 log = /var/log/rsyncd.log [mp3files] path = /home/guitar comment = directory read only = yes list = no secrets file = /etc/rsyncd.secrets auth users = gate1 # hosts allow = # hosts deny = gid = guitar timeout = 600 dont compress = *.mp3 exclude * include *.mp3 Then i run rsync : /etc rsync rsync://[EMAIL PROTECTED]/mp3files/test/ Password: drwxr-xr-x 512 2003/09/13 02:24:46 . -rw-r--r-- 771 2003/09/13 02:24:46 .cshrc -rw-r--r-- 255 2003/09/13 02:24:46 .login -rw-r--r-- 165 2003/09/13 02:24:46 .login_conf -rw--- 371 2003/09/13 02:24:46 .mail_aliases -rw-r--r-- 331 2003/09/13 02:24:46 .mailrc -rw-r--r-- 801 2003/09/13 02:24:46 .profile -rw--- 276 2003/09/13 02:24:46 .rhosts -rw-r--r-- 852 2003/09/13 02:24:46 .shrc drwxr-xr-x 512 2003/09/13 02:24:46 cgi-bin -rw-r--r-- 319 2003/09/13 02:24:46 newhost drwxr-xr-x 512 2003/09/13 02:24:46 www And as you see rsync lists evrything, not only *.mp3 files. I can download any of this files too. How to allow to download only *.mp3 files ? -- Best regards, Dennis mailto:[EMAIL PROTECTED] -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Trouble with password (daemon mode) Thanks, trouble solved.
Hello Dennis, Tuesday, October 21, 2003, 1:32:25 AM, you wrote: DC I running rsync in daemon mode (rsync --daemon) DC Everything seems to work well until I try to protect item with DC password. Thanks, the problem was in rights on file rsyncd.secrets - it was world readable while option strict was set to true by default. -- Best regards, Dennismailto:[EMAIL PROTECTED] -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html