metadata in dryrun mode

Martin Pool mbp at samba.org
Wed Apr 3 10:10:42 EST 2002


On  2 Apr 2002, Mark Santcroos <marks at ripe.net> wrote:
> As I reported a while back rsync doesn't handle metadata (permissions and
> ownership) in dryrun mode.
> 
> I offered to make a patch and that offer still stands. I didn't have the
> time for it until now and want to pick it up again. I had some ugly hack
> back then but I want to redo it in a clean way.
> 
> I would like some input on my thoughts.
> 

> IMHO, it would be ideally if the check for dry_run would be pushed down as
> far as possible. That would be in the syscall wrapper functions if I am
> correct.

I haven't looked at it in detail, but yes, that sounds reasonable.  I
agree that it should be fixed.

Please try to write a test script for this while you're there, either
as a standalone shell script or integrated with 'make check'.

Thanks,
-- 
Martin 




More information about the rsync mailing list