Chris Green via rsync <[email protected]> wrote: > Steven Levine via rsync <[email protected]> wrote: > > In <[email protected]>, on 10/02/26 > > at 01:15 PM, Chris Green via rsync <[email protected]> said: > > > > Hi, > > > > >What I was asking is how to **find** the links that are causing the > > >issue. I am running a command as follows:- > > > > > rsync -a -X -A -F --link-dest=/bak/snapshot/cur /etc /home > > >/bak/snapshot/new/ > > > > Have you tried --itemize-changes? > > > I'll try it but I suspect it only shows 'successful' changes and that it > won't show what I'm after. It'll go in the next run and I'll report what > happens. > --itemize-changes hasn't helped.
However I think I have my solution! :-) It turns out that it's related changes in rsync version 3.5 which have caused my problem. I had .rsync-filter files which were symlinks owned by me (i.e. user 'chris') and the backups were being run by root. Thus my rsync filters were being ignored and lots of files that shouldn't have been being backed up were being backed up. It looks as if changing the ownership of the filter files to root (which involved some moving around of my configuration management) has not only stopped backing up the unwanted files, it has stopped the "refusing to follow a symlink owned by an untrusted user" too. -- Chris Green ยท -- 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
