1. 01 Mar, 1999 1 commit
    • David Dykstra's avatar
      Prevent the -g option from preserving groups that a non-root receiver · 460f6b99
      David Dykstra authored
      does not belong to, in these two ways:
          1. If a group mapping doesn't exist for a group name, do not preserve
      	it for a non-root receiver.  This is especially evident with the
      	sender is a daemon using chroot because then no mappings are
      	available.
          2. Before setting the group on a file make sure that it is in the list
      	of groups returned by getgroups().  The same thing is done by chgrp
      	on systems that support bsd-style chown/chgrp, and this enforces
      	that it happens the same way on all systems.  Overhead is very
      	little, especially since most systems don't allow more then 16
      	groups per user.
      460f6b99
  2. 25 Feb, 1999 1 commit
  3. 24 Feb, 1999 1 commit
  4. 22 Feb, 1999 1 commit
  5. 18 Feb, 1999 3 commits
    • David Dykstra's avatar
      Changed --stats implementation to work without -v in only these two · 17d31b38
      David Dykstra authored
      situations:
          1. the client is the receiver of files.  Can't do it otherwise yet
      	because without -v the bytes written from the sender's generator
      	process will not be counted.
          2. both the remote and local protocol versions are >=20.  I did not
      	change the protocol version yet because it is such a minor change
      	that it isn't worth it, although I did test it with the protocol
      	version set to 20.
      If neither of the situations hold, it prints a message saying to use -v.
      17d31b38
    • David Dykstra's avatar
      Changed exclude/include matching so that normally wildcards will stop at · a8b9d4ed
      David Dykstra authored
      slashes.  The old behavior of crossing slashes can be achieved by using a
      double-asterisk ('**') anywhere in a pattern.  Note that this can change
      some existing exclude patterns in a subtle way.  Also note that if the
      remote side is an older release the processing on the two sides might not
      be exactly the same when there's no double-asterisk, which can affect which
      files are excluded from deletion, but they're close enough that people will
      probably not notice.  I considered changing the protocol version and
      checking the remote_version number to ensure the same processing on both
      sides, but the exclude patterns are pre-processed before the remote version
      number is known and it's just not worth going through extraordinary efforts.
      Suggested by Cameron Simpson <cs@zip.com.au>
      a8b9d4ed
    • Andrew Tridgell's avatar
      added --size-only option. Useful when starting to use rsync after a · f83f0548
      Andrew Tridgell authored
      ftp based mirror system so that timestamps may not be right.
      f83f0548
  6. 17 Feb, 1999 2 commits
  7. 15 Feb, 1999 1 commit
  8. 12 Feb, 1999 1 commit
  9. 10 Feb, 1999 5 commits
  10. 09 Feb, 1999 4 commits
  11. 03 Feb, 1999 3 commits
    • David Dykstra's avatar
      Move the initialization of push_dir, which calls getcwd, to early in main. · c226b7c2
      David Dykstra authored
      The reason for that is that on SVR2-based UTS 2.1.2 (which along with many
      other old systems implements getcwd by forking "pwd") getcwd hangs when
      called when other child processes are running.
      
      I also added a quick return from push_dir if name == NULL so it doesn't
      actually have to chdir anywhere when just initializing.
      
      An initializing call to push_dir("/",0) had previously been put in at the
      beginning of daemon_main() to avoid calling getcwd after a chroot, but
      since that is no longer I needed I removed it and changed the call to
      chdir("/") after chroot into a push_dir("/",0) so it will remember the
      correct current directory.
      c226b7c2
    • David Dykstra's avatar
      When calling lchown, pass the current known uid and gid rather than -1 · 5865fcdd
      David Dykstra authored
      to not change it, since the old SVR2-based UTS 2.1.2 does not support
      leaving uid and gid alone when the value is -1.
      5865fcdd
    • David Dykstra's avatar
      Add alternate implementation of waitpid() for systems that have wait4 but · e68f3481
      David Dykstra authored
      not wait3, in particular Amdahl's SVR2-based UTS 2.1.2.  The code comes
      from apache, but I contributed it to apache in the first place.
      e68f3481
  12. 21 Jan, 1999 1 commit
  13. 20 Jan, 1999 1 commit
  14. 11 Jan, 1999 1 commit
  15. 08 Jan, 1999 3 commits
  16. 07 Jan, 1999 2 commits
  17. 05 Jan, 1999 5 commits
  18. 30 Dec, 1998 1 commit
  19. 07 Dec, 1998 2 commits
  20. 05 Dec, 1998 1 commit