- 05 Mar, 1999 1 commit
-
-
David Dykstra authored
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).
-
- 04 Mar, 1999 1 commit
-
-
David Dykstra authored
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. Also, I decided that a check for "(updated && (file->mode & ~ACCESSPERMS))" is no longer needed since as far as I can tell that would have only affected permissions when not running as root and when a chgrp was done to a group the user was not a member of, using system V chgrp semantics. This is no longer allowed.
-
- 02 Mar, 1999 2 commits
-
-
David Dykstra authored
whenever delete_mode is on. People reported problems when it kicked in while using --delete and while using --delete-excluded.
-
David Dykstra authored
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.
-
- 01 Mar, 1999 3 commits
-
-
David Dykstra authored
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 authored
such as sunos4 gid_t is an unsigned short. This prevented the just-added non-mapped group test from working on sunos4.
-
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.
-
- 25 Feb, 1999 1 commit
-
-
David Dykstra authored
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).
-
- 24 Feb, 1999 1 commit
-
-
David Dykstra authored
-
- 22 Feb, 1999 1 commit
-
-
David Dykstra authored
are excluded. Implies --delete.
-
- 18 Feb, 1999 3 commits
-
-
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.
-
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>
-
Andrew Tridgell authored
ftp based mirror system so that timestamps may not be right.
-
- 17 Feb, 1999 2 commits
-
-
David Dykstra authored
any more except in very obscure cases.
-
David Dykstra authored
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".
-
- 15 Feb, 1999 1 commit
-
-
David Dykstra authored
-
- 12 Feb, 1999 1 commit
-
-
David Dykstra authored
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.
-
- 10 Feb, 1999 5 commits
-
-
David Dykstra authored
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 authored
-
David Dykstra authored
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 authored
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 authored
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.
-
- 09 Feb, 1999 4 commits
-
-
David Dykstra authored
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 authored
the secrets file to be readable by other users. Added to support the Windows port under cygwin. Problem reported by Martin Krumpolec krumpo@pobox.sk
-
David Dykstra authored
instead of 200. Move the defines of True and False to rsync.h. Eliminate the defines of BOOL in loadparm.c and params.c because it is already defined in rsync.h. Changes suggested by Roman Gollent roman.gollent@wdr.com
-
David Dykstra authored
-
- 03 Feb, 1999 3 commits
-
-
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.
-
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.
-
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.
-
- 21 Jan, 1999 1 commit
-
-
David Dykstra authored
to be ignored. At the same time, change the "uid =" and "gid =" options to be ignored when not running the daemon as super-user, to make it more convenient for those people and to make it portable to systems such as cygwin which don't support the uid/gid notions.
-
- 20 Jan, 1999 1 commit
-
-
David Dykstra authored
that the "log file" option always prepends "%t [%p] ".
-
- 11 Jan, 1999 1 commit
-
-
David Dykstra authored
-
- 08 Jan, 1999 3 commits
-
-
Andrew Tridgell authored
-
Andrew Tridgell authored
(yes, I know I'm not supposed to be doing rsync work at the moment! only four weeks to go ...)
-
Andrew Tridgell authored
options so you can set them on a per-module basis (requested by kernel.org mirror maintiner)
-
- 07 Jan, 1999 2 commits
-
-
David Dykstra authored
-
Andrew Tridgell authored
are visible to all users.
-
- 05 Jan, 1999 3 commits
-
-
David Dykstra authored
Rick Smith <rick@rbsmith.com>.
-
Andrew Tridgell authored
-
Andrew Tridgell authored
size. This explains the high false_alarms rate that I saw for one of the sample data files used in my thesis. The bug was harmless as the strong checksum easily caught all the false matches but it's been bugging me as I couldn't explain it :)
-