Displaying 10 results from an estimated 10 matches for "unsafe_symlinks".
Did you mean:
unsafe_symlink
2003 Jan 16
3
unsafe_symlink change (Re: CVS update: rsync)
The patch from 2-1/2 years ago for changing copy-unsafe-links to follow
unsafe links on the destination side also included essentially this patch.
When I looked at it, however, I asked why in the world is unsafe_symlink()
doing strdup() in the first place. I think you could get rid of the
calls to strdup() and the new local variables and possibly do a couple
casts inside the function instead.
-
2009 Mar 02
2
DO NOT REPLY [Bug 6151] New: --safe-links can be fooled by adding extra slashes to the path
https://bugzilla.samba.org/show_bug.cgi?id=6151
Summary: --safe-links can be fooled by adding extra slashes to
the path
Product: rsync
Version: 3.1.0
Platform: x64
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned@samba.org
2002 Apr 02
2
rsync 2.3.2 with --copy-unsafe-links work badly
Hello,
I try use rsync from Debian 2.2 (rsync 2.3.2) to mirror Debian
distribution tree.
in tree is directories
dists/potato/main/binary-all/
dists/potato/main/binary-i386/
pool/
In directory dists/potato/main/binary-i386/ is some files symbolic links
to ../binary-all/ and some links to ../../../../pool/
In mirror I want preserve links to binary-all/ and copy as files links
to pool/. I try
2008 May 08
1
Patch to not modify files in place unless "--inplace" option specified
Skipped content of type multipart/alternative-------------- next part --------------
diff -urN rsync-3.0.2-orig/generator.c rsync-3.0.2/generator.c
--- rsync-3.0.2-orig/generator.c 2008-03-28 10:30:11.000000000 -0700
+++ rsync-3.0.2/generator.c 2008-05-07 15:35:08.317364774 -0700
@@ -1508,6 +1508,7 @@
if (preserve_links && S_ISLNK(file->mode)) {
#ifdef SUPPORT_LINKS
+ int iflags =
2003 Jan 02
2
--copy-unsafe-links, links preserved in source tree or local directory?
Hi,
I'm a bit confused about what the '--copy-unsafe-links' option
considers the 'source tree'. In the man page it says that for links
pointing outside the 'source tree' the file will be copied, but when I
try this, for all links pointing outside of the local directory the
files are copied even though the links point to files that are in the
directory tree that is
2004 Apr 19
3
[PATCH] time limit
Greetings,
I have written a patch for rsync-2.6.1pre-2 which adds a --time-limit=T
option. When this option is used rsync will stop after T minutes
and exit. I think this option is useful when rsyncing a large amount
of data during the night (non-busy hours), and then stopping when it is
time for people to start using the network, during the day (busy hours).
If this patch is accepted it may
2004 Apr 22
2
[PATCH] --timelimit and --stopat
Greetings,
Upon a suggestion to improve the --timelimit patch, I have also added a --stopat option.
You can get the patch from this URL and/or cut/paste it from below.
http://www.terry.uga.edu/~jft/rsync-timelimit-stopat.patch.gz
Here are the details...
--timelimit=T
This option allows you to specify the maximum number of minutes
rsync will run for. This time starts when
2004 Apr 10
0
patches for copying atimes
Hi.
Here's a patch for copying the atimes of files when -t/--times is
given. I bumped the protocol to 29 since it sends more data over the
wire. It obviously does not send the atime if it's sending data to an
older rsync version.
It passes all the tests (including the added atime.test) for me on a:
Linux Debian/3.0 gcc 2.95.4 (debian), glibc 2.2.5 system.
Any questions/feedback? I
2004 Apr 20
1
improved atime patch
I posted a patch a few days ago that adds copying of atime. At that
time, it was just enabled with -t/--times. After some time, we have
figured out that that choice might not have been the best. Here's a
new version of the patch (relative to CVS) that adds -A/--copy-atime
instead. It also includes a test case.
Any feedback on this patch and/or the previous one that I posted?
2003 Oct 03
2
Cygwin/rsync Hang Problem Testing Results
People of cygwin & rsync,
I recently attempted to get cygwin and rsync working to solve a
backup/mirroring need in my computer life. Well, as you might guess, I
ran into a little but of trouble.
Strangely enough, rsync seemed to be regularly hanging when I attempted
to do a "get" (sycronize a remote to a local dir). Well, considering I
want to automate this, that was not going