Hi! I'm trying to use rsync over ssh (open_ssh on Redhat Linux 6.2 to be
exact) in order to update a production web server from a staging server.
In the tests I've run so far, everything has worked beautifully *except*
that files deleted on the staging side stubbornly refuse to be deleted on
the remote side.
I'd assume this was a permissions issue, except that I've made sure the
files on the remote server are all owned by the user I'm using to make the
connection. There's no apparent reason why rsync should have a permission
problem with deleting the files.
here's what I'm using:
rsync -e ssh -rca --delete local/. user@remotehost:/remote/
I'm sure I'm missing something silly, but after staring at man pages and
list archives for the past hour, I still can't figure out what's happening.
thanks in advance-
Larry
p.s. for the record, I can use: ssh user@remotehost rm stubborn_file.htm
and it's deleted just fine... so the problem clearly lies with rsync or how
I'm using it.
----------------------------------------------------------------------------
---------------
Larry J. Prikockis
Web Applications Specialist
Association for Biodiversity Information
703-908-1833 / [EMAIL PROTECTED]