Deletion of files only on remote system is not logged

Sam Sexton Sam.Sexton at reuters.com
Sat May 24 01:50:02 EST 2003


I've only just seen the response from May 9, as I'm not enrolled in the
list (too much mail already!). Here is a cut-down example as requested,
showing the same behaviour:
 
Script started on Fri May 23 15:18:37 2003
15:18
[220](H:root at Edelfelt)/tmp: ls -l /tmp/testdir
total 32
-rw-r-----   1 root     other          9 May 23 15:15 both
-rw-r-----   1 root     other          7 May 23 14:59 source
[221](H:root at Edelfelt)/tmp: rsh taz ls -l /tmp/testdir
total 32
-rw-r-----   1 root     other          7 May 23 14:59 both
-rw-r--r--   1 root     other          7 May 23 15:17 target
[222](H:root at Edelfelt)/tmp: rsync -navv
--password-file=/etc/rsyncd.passwd --delete /tmp/testdir/
root at Tazdevil::tmp
opening tcp connection to Tazdevil port 873
# Connected to Tazdevil rsync server
 
building file list ... 
expand file_list to 4000 bytes, did move
done
both
source
total: matches=0  tag_hits=0  false_alarms=0 data=0
wrote 177 bytes  read 127 bytes  608.00 bytes/sec
total size is 16  speedup is 0.50
[223](H:root at Edelfelt)/tmp: # No mention of deletion of "target" in dry
run
[224](H:root at Edelfelt)/tmp: rsync -avv
--password-file=/etc/rsyncd.passwd --delete
/tmp/testdir/ root at Tazdevil::tmp
 
opening tcp connection to Tazdevil port 873
# Connected to Tazdevil rsync server
 
building file list ... 
expand file_list to 4000 bytes, did move
done
both
source
total: matches=0  tag_hits=0  false_alarms=0 data=16
wrote 264 bytes  read 157 bytes  280.67 bytes/sec
total size is 16  speedup is 0.40
[225](H:root at Edelfelt)/tmp: rsh taz ls -l /tmp/testdir
total 32
-rw-r-----   1 root     other          9 May 23 15:15 both
-rw-r-----   1 root     other          7 May 23 14:59 source
[226](H:root at Edelfelt)/tmp: # Again, no mention of deletion, but
"target" has gone.
[227](H:root at Edelfelt)/tmp: 
script done on Fri May 23 15:19:59 2003
 

/etc/rsyncd.conf: 
 
motd file = /etc/rsyncd.motd
log  file = /var/log/rsyncd.log
pid  file = /var/run/rsyncd.pid
 
[tmp]
    comment = Rsync definition for daily copy
    # Distribute following as MBHD and run do_skel on it.
    path = /tmp/testdir
    max connections = 1
    lock file = /var/run/rsync_daily.lock
    uid = root
    gid = root
    read only = no
    list = yes
    auth users = root
    secrets file = /etc/rsyncd.secrets
    hosts allow = 10.5.203.101,10.5.203.103
    dont compress = *.gz *.tgz *.zip *.z *.rpm *.deb *.Z[daily_copy]

 

 

/Sam

 

Sam Sexton <mailto:sam.sexton at reuters.com>  

Reuters Coventry

Automated Dealing Technologies

Phone: +44 24 7625 6562

Fax:     +44 24 7655 5203

 


--------------------------------------------------------------- -
        Visit our Internet site at http://www.reuters.com

Get closer to the financial markets with Reuters Messaging - for more
information and to register, visit http://www.reuters.com/messaging

Any views expressed in this message are those of  the  individual
sender,  except  where  the sender specifically states them to be
the views of Reuters Ltd.




More information about the rsync mailing list