rsync-bugs
42245f1b56
preparing for release of 2.0.19
v2.0.19
1998-07-17 14:53:00 +00:00
Andrew Tridgell
c29ee43dbd
handle hard links on systems with 16 bit ino_t
1998-07-17 14:42:59 +00:00
Andrew Tridgell
d310a212f7
added a bit in the man page about the clean shell error
1998-07-17 14:25:14 +00:00
Andrew Tridgell
ca6c93f817
check whether there is a / before a : in the rsync command line. If
...
there is then assume that the : is from a filename, not a host:dir
separator. This allows you to copy files with a : in them. (suggestion
from pfeifer@wait.de )
1998-07-17 14:05:57 +00:00
Andrew Tridgell
72914a606e
make rsync behave more like GNU cp with regard to file permissions
...
when -p (preserve permissions) isn't set.
It works by taking the sending file permissions and masking them with
the umask to create the destination file permissions. (There is really
no "correct" way of doing this but at least we now behave like GNU cp
which fits the principle of least surprise.)
also fixed a race condition in copy_file()
1998-07-17 13:18:32 +00:00
Andrew Tridgell
4b957c2238
added the --safe-links option to disallow symlinks outside the
...
destination tree
1998-07-17 10:00:48 +00:00
Andrew Tridgell
d853783f21
added the --safe-links option to disallow symlinks outside the
...
destination tree
1998-07-17 10:00:43 +00:00
Andrew Tridgell
298c10d5bb
some code reformatting
1998-07-17 07:42:04 +00:00
Andrew Tridgell
6608462cac
removed old "make dist" target
1998-07-17 07:26:08 +00:00
Andrew Tridgell
ca8e96946e
changed wording of an error message
1998-07-17 07:25:42 +00:00
Andrew Tridgell
6ed67e6dd5
moved getopt.h above unistd.h to prevent problems with uwin on NT
1998-07-17 07:17:11 +00:00
Andrew Tridgell
1f658d4207
fixed a problem with rsync buffering the debug output when redirected
...
to a file.
1998-07-17 07:07:23 +00:00
Andrew Tridgell
d3bc0b68ab
make a function static
1998-07-17 05:38:51 +00:00
Andrew Tridgell
1a0de6c68b
remove a useless debug message
1998-07-17 05:38:21 +00:00
Andrew Tridgell
eb601ffeb8
code style change
1998-07-17 05:37:56 +00:00
Andrew Tridgell
8d72ef6e52
use error to detect lockfile open failures vs. max connections reached
...
and report an appropriate error message
1998-07-17 05:37:18 +00:00
Andrew Tridgell
bcf5b1335d
- use explicit flushes instead of setlinebuf. I've had reports of
...
verbose info not being line buffered to files.
- add a call to localtime() in open_log() in order to prime the C
libraries timezone cache before the chroot(). This should fix the
problem of rsyncd log entries being in GMT time.
1998-07-02 10:57:20 +00:00
Andrew Tridgell
bd7e05d799
remove a redundent continue statement
1998-07-02 03:02:14 +00:00
Andrew Tridgell
c95f1aa9d3
prioritise reading over writing in the select loop. (this is another
...
ssh-friendly attempt)
1998-07-02 02:59:04 +00:00
Andrew Tridgell
86ffe37f11
fix the problem of --timeout waiting for twice the specified time.
1998-07-02 02:48:09 +00:00
Andrew Tridgell
b536f47e3c
- don't show "created directory" message unless verbose is selected
...
- check for null buf in show_progress
1998-07-02 02:08:55 +00:00
Andrew Tridgell
43b06eeae9
output progress % every 1k instead of every 1%, this is better for
...
large files.
1998-07-02 01:28:39 +00:00
Andrew Tridgell
067857e0ac
the recv_generator can be static
1998-07-02 01:27:51 +00:00
Andrew Tridgell
b3e10ed75b
enable output buffering in the recv generator. This makes a
...
significant difference when the transport is ssh as ssh will otherwise
output a complete frame for each checksum record, which increases the
checksum data in size by a factor of around 4.
1998-07-02 01:27:14 +00:00
Andrew Tridgell
a353d56337
don't need to send --progress option to server as the server never
...
prints progress info.
1998-07-02 00:48:20 +00:00
Andrew Tridgell
eb86d661d7
added --progress option which shows the progress of transfers. This
...
gives bored users something to watch.
1998-07-02 00:47:13 +00:00
Andrew Tridgell
fe055c718a
- only keep a partial file if some literal data has been transferred,
...
this prevents a second interrupted transfer from reducing the size of
the transferred file.
- set SIGUSR1 to SIG_IGN early to prevent a race condition that
prevents the --partial code from working properly
1998-07-01 11:03:50 +00:00
Andrew Tridgell
31f440e68b
I've had reports of rsyncd leaving zombies under digital unix. This
...
patch tries to address the problem in two ways:
1) reinstall the SIGCHLD handler before each fork
2) reap any children not caught by the handler using waitpid with
WNOHANG.
I expect this will fix the problem.
1998-07-01 05:10:42 +00:00
Andrew Tridgell
c95da96a0c
added a --partial option which tells rsync to keep partially
...
transferred files if the transfer is interrupted.
added a "options summary" section to the man page
1998-07-01 03:36:03 +00:00
Andrew Tridgell
bf9f01689f
if we get EWOULDBLOCK on a write then reduce the amount of data we are
...
trying to write. This guarantees that the maximum amount of data that
can be written at any one time is written.
1998-06-19 00:55:19 +00:00
Andrew Tridgell
da81e21536
use LDFLAGS in Makefile.in (fix from arndt@schoenewald.de)
1998-06-18 14:15:16 +00:00
Andrew Tridgell
46831d6fcf
fixed chmod bug pointed out by Han Holl <jeholl@euronet.nl>
1998-06-18 13:26:10 +00:00
rsync-bugs
b58ad6c569
preparing for release of 2.0.18
v2.0.18
1998-06-18 13:06:00 +00:00
Andrew Tridgell
22b1933287
fixed a race condition in rsync that opened a security hole. The
...
temporary files were being created with the same permissions as the
original file. So if the file was setuid but not owned by the user
doing the transfer then there was a window of opportunity for a
malicious user to execute it with the wrong permissions while it was
being transferred.
Thanks to snabb@epipe.fi for pointing this out.
1998-06-18 12:17:23 +00:00
rsync-bugs
5a03f68a5a
preparing for release of 2.0.17
v2.0.17
1998-06-18 10:30:48 +00:00
Andrew Tridgell
e81da93e86
if as non-root we failed to update the group of a file then don't
...
print the file name.
1998-06-18 10:03:44 +00:00
Andrew Tridgell
f578043391
for consistency use memcpy/memset everywhere instead of bcopy/bzero
1998-06-18 09:51:44 +00:00
Andrew Tridgell
e8f5b936ad
move include of compat.h after other includes.
1998-06-18 09:37:21 +00:00
Andrew Tridgell
667e72a195
change the order of chmod and chown calls so that setuid bits don't
...
get removed by chown calls.
1998-06-18 09:36:24 +00:00
Andrew Tridgell
e1b3d5c4be
set network file descriptors non-blocking before starting main rsync
...
algorithm.
1998-06-18 09:34:56 +00:00
Andrew Tridgell
f7b9377863
handle non-blocking file descriptors for both read and write. Add a
...
workaround for buggy systems that say there is space to write when
there isn't.
1998-06-18 09:33:46 +00:00
Andrew Tridgell
a5343e765b
put set_nonblocking() code back in.
1998-06-18 09:32:45 +00:00
Andrew Tridgell
704f908eae
--help changes suggested by Francois
1998-06-18 09:31:42 +00:00
Andrew Tridgell
de2fd20eb7
manpage updates, mostly suggested by Francois
1998-06-18 09:30:51 +00:00
Andrew Tridgell
100e5241b0
the tag table should be of type int* not tag*.
...
This bug resulted in rsync being much less efficient that it could be
for files with more than 64k blocks. With the adaptive block size code
giving a maximum block size of 16k this means that files larger than
1GB were handled very inefficiently. The transfer was still accurate,
just slow.
1998-06-03 02:47:52 +00:00
Andrew Tridgell
ddecf7060b
if the user passes a block size on the command line then don't adapt
...
the block size.
1998-06-03 02:35:51 +00:00
Andrew Tridgell
56cdbccb92
added note to docs saying that --stats doesn't work unless -v is used
1998-06-02 12:50:23 +00:00
Andrew Tridgell
fc8a6b9705
added some fflush() calls to make sure the statistics lines are
...
printed when redirecting output to a file.
1998-06-02 12:46:46 +00:00
rsync-bugs
143384f367
preparing for release of 2.0.16
v2.0.16
1998-06-01 13:49:12 +00:00
Andrew Tridgell
8c3b04730b
added some notes to test.sh
1998-06-01 13:44:06 +00:00