Code

History

Commits on v2.3.035+
  1. preparing for release of 2.3.0rsync-bugs committed 27 years agod0a7c8a
  2. Changed the protocol version to 20 so that --stats will work without -v in both directions.David Dykstra committed 27 years agoebb00c8
  3. Fix typo in comment in rsync.h, suggested by bje@cygnus.comDavid Dykstra committed 27 years ago6543dc0
  4. Make a special version number 2.3.0-beta for a short period because I'll be encouraging extra testing before the release.David Dykstra committed 27 years agoe459239
  5. Allow + and - in the "include" and "exclude" directives in rsyncd.conf. Patch submitted by Damian A Ivereigh <damian@cisco.com>David Dykstra committed 27 years ago651443a
  6. Include a test for a working getopt_long because the one on some versions of cygwin doesn't work. Thanks to Martin Krumpolec <krumpo@pobox.sk> for the patch. At the same time, include cache checks in configure.in for a few items that were missing the checks.David Dykstra committed 27 years ago79fc6bd
  7. When -R is used, send the permissions of the original top directories to the receiver even when not combined with -r. Without this, the directories were getting created mode 777 because the default umask on receivers is often 00.David Dykstra committed 27 years ago245fbb5
  8. When a file cannot be deleted because of ETXTBSY (in particular, when an executable is busy on HPUX), rename it instead to .rsyncNNN. Most of the code was submitted by Ketil Kristiansen <ketil-k@osc.no>David Dykstra committed 27 years agoc7c11a0
  9. Check for EINVAL from a rename error call in addition to ENOENT because David Campbell <david@pastornet.net.au> reported that that helps data be received onto a windows box running cygwin b19.David Dykstra committed 27 years agoc27f259
  10. Add distclean target to Makefile.in.David Dykstra committed 27 years agoaf21c12
  11. Update config.sub to the latest from automake in addition to config.guess.David Dykstra committed 27 years ago32b1f1d
  12. Update config.guess from a new official GNU version. I believe this is the latest, which comes with automake 1.4 (somebody else is in charge of installing the GNU stuff on my system so I'm not 100% sure it's the absolute latest, but it was updated just a couple weeks ago).David Dykstra committed 27 years ago529e608
  13. The change a couple days ago to create files initially without group and other access resulted in group and other access being left off when the '-p' option was not used. This fixes it by reintroducing the ACCESSPERMS mask and setting permissions to (file->mode & ACCESSPERMS) if preserve_perms is off. I decided to change the mask INITPERMMASK to INITACCESSPERMS at the same time. When preserve_perms is off, rsync is restored to the previous behavior of having the permissions of the original file with the umask and setuid/setgid bits shut off.David Dykstra committed 27 years ago972a361
  14. Disable the optimization that treats include-only files as a special case whenever delete_mode is on. People reported problems when it kicked in while using --delete and while using --delete-excluded.David Dykstra committed 27 years ago8458724
  15. Change getgroups to use GETGROUPS_T as the type of the group array returned, as calculated by the configure macro AC_TYPE_GETGROUPS. Without that, it doesn't work properly on systems like sunos 4 where gid_t is defined to be an unsigned short but getgroups is defined to return an array of integers.David Dykstra committed 27 years ago9422bb3
  16. Change the mask used when creating temporary files from 777 to 700, to prevent an obscure race-condition security hole where a file may for a short time have the wrong group. Could have used 707 instead but that's just too weird of a permission. The define name used to be ACCESSPERMS but that is defined as 777 on Linux, so changed the name to INITPERMMASK.David Dykstra committed 27 years ago5afd8ae
  17. When comparing -1 to a group id, cast -1 with gid_t because on some systems such as sunos4 gid_t is an unsigned short. This prevented the just-added non-mapped group test from working on sunos4.David Dykstra committed 27 years ago8669205
  18. Prevent the -g option from preserving groups that a non-root receiver 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.David Dykstra committed 27 years ago460f6b9
  19. Removed am_client variable. It was being set in one place, when a client of a socket (that is, a --daemon) server, but never looked at. The way to test whether or not on a client is (!am_server).David Dykstra committed 27 years ago896bd48
  20. Fix a bug with rsync -R --delete from ./ as reported in PR#1532David Dykstra committed 27 years ago53f821f
  21. Add --delete-excluded option to delete files on the receiving side that are excluded. Implies --delete.David Dykstra committed 27 years agob33b791
  22. Changed --stats implementation to work without -v in only these two 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.David Dykstra committed 27 years ago17d31b3
  23. Changed exclude/include matching so that normally wildcards will stop at 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>David Dykstra committed 27 years agoa8b9d4e
  24. added --size-only option. Useful when starting to use rsync after a ftp based mirror system so that timestamps may not be right.Andrew Tridgell committed 27 years agof83f054
  25. Changed man page documentation of --force to say it is hardly ever needed any more except in very obscure cases.David Dykstra committed 27 years ago15800c7
  26. Added --copy-unsafe-links option which is like --copy-links except it is only for symlinks that point outside the source tree. Suggested by Charles Hines <chuck_hines@VNET.IBM.COM> in PR#1376. Also apply the option to any symbolic links in the source portion of a path when --relative is used, as suggested by Francis Montagnac <Francis.Montagnac@sophia.inria.fr> on the rsync mailing list in a message titled "New option: --copy-parent-links".David Dykstra committed 27 years agob531360
  27. Be consistent on use of '=' on options that take a parameter.David Dykstra committed 27 years agob567933
  28. Change the implementation of memmove in lib/compat.c to call bcopy instead of memcpy because bcopy is guaranteed to work with overlapping memory and memcpy is not. Bug fix for PR#1584 in which log entries in the rsync daemon log on Sunos 4.1.4 were garbled.David Dykstra committed 27 years ago52d7d78
  29. A slight compensation I had just added for total bytes read when using -v was incorrect. It's hard to tell how many bytes are actually read because transferring the value changes it and depending on its value it may transfer 4 or 12 bytes so instead change the sender side to not include the length of the counters it sends at all (it had been including one but three are sent).David Dykstra committed 27 years ago23c5aef
  30. Allow --stats to work without -v.David Dykstra committed 27 years agoe19452a
  31. Changed Usage in the rsync --help message to indicate how there can be multiple SRCs. Also moved the --suffix option to show up right after --backup and included the default backup suffix and block size along with their corresponding options rather than at the end. Copied the new help message to rsync.yo and README and used the Usage also in the SYNOPSIS section at the top of rsync.yo rather than the different one that used "path" instead of SRC and DEST. That last change was inspired by a suggestion from Michael Bleyer in PR #1523.David Dykstra committed 27 years ago9ef5390
  32. Changed error message that just said "open %s: %s" to "cannot create %s: %s" in receiver.c because it confuses people when they do something like rsync /etc/passwd /tmp/nonexistentdir/passwd and it printed out something like open /tmp/noniexistentdir/.passwd.a004d5 : No such file or directory Reported by kurt_granroth@pobox.com in PR #1253.David Dykstra committed 27 years agofd0abef
  33. Changed the optimized include mode (which kicks in when there are a series of non-wildcard includes followed by an exclude of *) so that it will silently ignore included files that don't exist rather than saying "No such file or directory". This is more like the behavior of the non-optimized include mode.David Dykstra committed 27 years ago19c14f9
  34. Support '#' and ';' comments in exclude files. It would actually not probably cause any harm if they were treated as normal exclude or include patterns because they just wouldn't match anything, but it's better to explicitly ignore them. Suggested by David Holland <uholld1@lexis-nexis.com>David Dykstra committed 27 years ago122f19a
  35. Added "strict modes" option. When set false (default is true), it allows the secrets file to be readable by other users. Added to support the Windows port under cygwin. Problem reported by Martin Krumpolec krumpo@pobox.skDavid Dykstra committed 27 years ago3ca8e68

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t