[Bug 13656] New: --link-dest target with symbolic links from different user produces unnecessary error

2018-10-16 Thread just subscribed for rsync-qa from bugzilla via rsync
https://bugzilla.samba.org/show_bug.cgi?id=13656 Bug ID: 13656 Summary: --link-dest target with symbolic links from different user produces unnecessary error Product: rsync Version: 3.1.3 Hardware: All OS

Incremental RSYNC on symbolic links only filesystem

2014-05-12 Thread Brad Diefendorf
Hello Rsync List, I have a directory that I am running an incremental sync (version 3.026) between AIX and Linux. The directory that I am asking you about has about 43 million symbolic links. I am using the flag to process links only and had been seeing about 1.5 million links processed in a 12

[Bug 8201] rsync 3.0.8 destroys SELinux security context of symbolic links

2011-06-18 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=8201 Matt McCutchen changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug 8201] rsync 3.0.8 destroys SELinux security context of symbolic links

2011-06-18 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=8201 Wayne Davison changed: What|Removed |Added Status|ASSIGNED|RESOLVED Version|3.0.8

[Bug 8201] rsync 3.0.8 destroys SELinux security context of symbolic links

2011-06-14 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=8201 --- Comment #7 from Matt McCutchen 2011-06-15 00:17:03 UTC --- (In reply to comment #6) > (In reply to comment #5) > > No, reading is fine; there just will never be any user xattrs. > > I repeat - trying to read a user attr of a symlink raises EPE

[Bug 8201] rsync 3.0.8 destroys SELinux security context of symbolic links

2011-06-14 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=8201 --- Comment #6 from Martin Wilck 2011-06-14 15:40:48 UTC --- (In reply to comment #5) >> Under Linux, trying to >> read > > No, reading is fine; there just will never be any user xattrs. I repeat - trying to read a user attr of a symlink raises E

[Bug 8201] rsync 3.0.8 destroys SELinux security context of symbolic links

2011-06-07 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=8201 --- Comment #5 from Matt McCutchen 2011-06-08 00:01:41 UTC --- (In reply to comment #4) > IMHO NO_SYMLINK_XATTRS doesn't have the right semantics. I assume you mean "a new NO_SYMLINK_XATTRS-like switch that applies only to the user namespace" like

[Bug 8201] rsync 3.0.8 destroys SELinux security context of symbolic links

2011-06-06 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=8201 --- Comment #4 from Martin Wilck 2011-06-06 09:49:00 UTC --- (In reply to comment #3) > Wayne, your change regressed bug 7109. Linux needs NO_SYMLINK_XATTRS only for > the "user" namespace. IMHO NO_SYMLINK_XATTRS doesn't have the right semantics.

[Bug 8201] rsync 3.0.8 destroys SELinux security context of symbolic links

2011-06-04 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=8201 --- Comment #3 from Matt McCutchen 2011-06-04 20:45:10 UTC --- Wayne, your change regressed bug 7109. Linux needs NO_SYMLINK_XATTRS only for the "user" namespace. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email --- Y

[Bug 8201] rsync 3.0.8 destroys SELinux security context of symbolic links

2011-06-04 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=8201 Wayne Davison changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #2 from Wayne Davison

[Bug 8201] rsync 3.0.8 destroys SELinux security context of symbolic links

2011-06-01 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=8201 Frederick Grose changed: What|Removed |Added CC||fgr...@gmail.com --- Comment #1 from Fred

[Bug 8201] New: rsync 3.0.8 destroys SELinux security context of symbolic links

2011-06-01 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=8201 Summary: rsync 3.0.8 destroys SELinux security context of symbolic links Product: rsync Version: 3.0.8 Platform: All OS/Version: All Status: NEW Severity

rsync problem with symbolic links on Cygwin

2008-08-12 Thread John Neil
Dear rsync maintainers, Hi, I have been seeing a problem for awhile in an rsync script I maintain with how rsync syncs symbolic links between and rsync daemon running on Linux and an rsync client running on recent Cygwin that I am wondering is a known issue. Basically rsync always copies

Re: rsync and symbolic links (fwd)

2007-10-13 Thread Gerhard Wiesinger
AIL PROTECTED]> To: Wayne Davison <[EMAIL PROTECTED]> Cc: rsync@lists.samba.org Subject: Re: rsync and symbolic links On Sat, 4 Nov 2006, Wayne Davison wrote: So turns out that I want a "feature request" which copies the link itself (file or directory) and the linked file/direc

Re: Symbolic links on Mac OSX

2007-07-24 Thread Matt McCutchen
On 4/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I have noticed an anomaly with symbolic links. umask 027 mkdir folder1 echo 'hello world' > folder1/file1 cd folder1 ln -s file1 softfile1 rsync -a ../folder1/ ../folder2/ ls -lF ../folder* ../folder1: total 16 -rw-r-

Symbolic links on Mac OSX

2007-04-25 Thread smokin . jake
I have noticed an anomaly with symbolic links. umask 027 mkdir folder1 echo 'hello world' > folder1/file1 cd folder1 ln -s file1 softfile1 rsync -a ../folder1/ ../folder2/ ls -lF ../folder* ../folder1: total 16 -rw-r- 1 alan alan 12 Apr 26 00:00 file1 lrwxr-x--- 1 alan

DO NOT REPLY [Bug 4378] Handling of symbolic links

2007-03-27 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=4378 --- Comment #1 from [EMAIL PROTECTED] 2007-03-27 17:37 MST --- Created an attachment (id=2350) --> (https://bugzilla.samba.org/attachment.cgi?id=2350&action=view) Limit deletions to exclude items we aren't transferring Here is a simple

DO NOT REPLY [Bug 4378] New: Handling of symbolic links

2007-02-07 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=4378 Summary: Handling of symbolic links Product: rsync Version: 2.6.6 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P3 Component: core

Re: copy symbolic links as real file during syncing files.

2006-11-12 Thread John Van Essen
On Mon, 13 Nov 2006, <[EMAIL PROTECTED]> wrote: > > I want to sync one big directory from one host to a remote host. > And there are several symbolic links which linked to some files > and directories that outside the certain directory. I want to > copy the symbolic

Re: copy symbolic links as real file during syncing files.

2006-11-12 Thread Wayne Davison
On Mon, Nov 13, 2006 at 09:17:16AM +0800 you wrote: > I want to copy the symbolic links as real file or directory. Use -L (--copy-links) to transform symlinks into the referent file. ..wayne.. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before post

copy symbolic links as real file during syncing files.

2006-11-12 Thread 王 鹏辉
Hello, listRsync is a amazing tools for files and directories syncing. There is something unclearly to me. I digged in the web for a while, but there aren't useful things for me.Here is my puzzle: I want to sync one big directory from one host to a remote host. And there are several symbolic

Re: rsync and symbolic links

2006-11-04 Thread Gerhard Wiesinger
On Sat, 4 Nov 2006, Wayne Davison wrote: On Sat, Nov 04, 2006 at 10:29:15AM +0100, Gerhard Wiesinger wrote: + etc/ + etc/* + etc/.* + etc/*/ + etc/*/* + etc/*/.* + etc/**/ + etc/**/* + etc/**/.* Rsync doesn't treat leading dots specially, nor do you need to do a directory match after doing a

Re: rsync and symbolic links

2006-11-04 Thread Wayne Davison
On Sat, Nov 04, 2006 at 10:29:15AM +0100, Gerhard Wiesinger wrote: > + etc/ > + etc/* > + etc/.* > + etc/*/ > + etc/*/* > + etc/*/.* > + etc/**/ > + etc/**/* > + etc/**/.* Rsync doesn't treat leading dots specially, nor do you need to do a directory match after doing a match that matches both file

rsync and symbolic links

2006-11-04 Thread Gerhard Wiesinger
e a symbolic link in directory /etc/myapp.conf which points to e.g. /var/directory1/myapp.conf How can I backup: 1.) the symbolic link itself (/etc/myapp.conf) 2.) And the file /var/directory1/myapp.conf This should also apply for directory symbolic links. Does it work with --links and with --cop

Re: rsync and symbolic links

2006-06-29 Thread Matt McCutchen
On 6/29/06, Victor Shoup <[EMAIL PROTECTED]> wrote: Is this a known issue? rsync does not always preserve dates and permissions on symbolic links, and while the -i option indicates it is trying to bring things in sync, it does not. Hm. Some operating systems (such as BSD) support s

rsync and symbolic links

2006-06-29 Thread Victor Shoup
Is this a known issue? rsync does not always preserve dates and permissions on symbolic links, and while the -i option indicates it is trying to bring things in sync, it does not. Maybe between OS's that have sufficiently different implementations, this is not possible. -- To unsubscri

Re: Replacing directories with symbolic links

2005-11-29 Thread Wayne Davison
On Mon, Nov 28, 2005 at 06:14:50PM +0100, Hanno Foest wrote: > Looking at the involved files and directories, it looks like the user > decided to replace a directory with a symlink, but rsync doesn't seem > to delete the directory on the backup machine if that happens. See both --force and --delet

Replacing directories with symbolic links

2005-11-28 Thread Hanno Foest
Hello, I'm backing up a file server using rsync from a cron job, which recently started to give me errors like: delete_file: rmdir "/some/path" failed: Directory not empty symlink "/some/path" -> "/some/other/path" failed: File exists Looking at the involved files and directories, it looks like

Re: iinclude/excludes and symbolic links

2005-11-07 Thread Wayne Davison
On Fri, Nov 04, 2005 at 04:50:28PM -0800, Eric Horne wrote: > rsync -rvzd --include-from=incfile /top/level/dir remote::share Your problem is that the trailing "dir" in the source is the base of the transfer, so including "/B/" will not match anything anywhere -- you'd need to use "/dir/B/" instea

iinclude/excludes and symbolic links

2005-11-04 Thread Eric Horne
I'm trying to rsync a directory structure and it's contents to another machine. I want to make sure that the entire toplevel part of the directory structure is created at the remote site, since it may not exist. top: A/ B/ C/ under B/: 1/ 2/ 3/ under 2/: x/ y/ z/ all of this is located in /t

Re: Can not build with out support for hard or symbolic links.

2005-04-09 Thread Wayne Davison
On Sat, Apr 09, 2005 at 10:39:13PM -0400, John E. Malmberg wrote: > Everywhere that RSYNC uses SUPPORT_LINKS and SUPPORT_HARD_LINKS it is > testing if the macros are defined, not what their values are. Thanks for pointing that out. Attached is the fix I just checked into CVS. ..wayne.. --- rsyn

Can not build with out support for hard or symbolic links.

2005-04-09 Thread John E. Malmberg
results that the code will always be built with support for hard and symbolic links. -John [EMAIL PROTECTED] Personal Opinion Only -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: Rsync: Directories become Symbolic Links

2004-07-20 Thread Wayne Davison
On Mon, Jul 19, 2004 at 03:19:46PM -0400, Vu Huynh wrote: > My question is that how do we make rsync understands and update the > directory subdir1 becomes the symbolic link as in Server1. I believe you're looking for the --force option. ..wayne.. -- To unsubscribe or change options: http://list

Rsync: Directories become Symbolic Links

2004-07-19 Thread Vu Huynh
Hi all, I have rsync'ed directory /rootdir/dirdir/ from Server1 to Server2, using cmd on Server2 "rsync Server1:/rootdir/dirdir -avz /rootdir/dirdir". There were some sub-directories from Server1 got updated to become the symbolic links. For example, directory /rootdir/dird

Re: rsync directory with symbolic links

2003-11-11 Thread cbarratt
e rsync server will chroot to the "path" before starting the file transfer with the client. This has the advantage of extra protection against possible implemen- tation security holes, but it has the disadvantages of requiring super-user privileges, of not b

rsync directory with symbolic links

2003-11-11 Thread Pirla
Hi all, I have a problem synching a directory that as symbolic links. The behavior is: If a symlink is relative (like ../../file) the link is copied correctly If a symlink is absolute (like /root/document) the link is copied like (root/document) whithout the first slash. By the way some link

Re: Following symbolic links

2003-03-18 Thread Tom Freeman
Tom Freeman" <[EMAIL PROTECTED]> To: "rsync list" <[EMAIL PROTECTED]> Sent: Tuesday, March 18, 2003 4:05 PM Subject: Following symbolic links > Hi, > Can anyone tell me if rsync can follow symbolic links? > Cheers, > Tom > -- > Tom Freeman > Web Developer &

Following symbolic links

2003-03-18 Thread Tom Freeman
Hi, Can anyone tell me if rsync can follow symbolic links? Cheers, Tom -- Tom Freeman Web Developer NISS - EduServ +44 (0)1225 474371 -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html

Re: Problem with absolute symbolic links

2002-12-17 Thread tim . conway
ser privileges and of not being able to follow symbolic links outside of the new root path when reading. When "use chroot" is false, for security reasons symlinks may only be relative paths pointing to other files within the ro

Re: Problem with absolute symbolic links

2002-12-16 Thread Dave Dykstra
rote: > I'm trying to synchronize a particularly troublesome directory structure on a SunOS >box to a PC. I really want all symbolic links resolved to real files on the PC when >everything is done. I can't seem to find any combination of parameters that will >accomplish this

Problem with absolute symbolic links

2002-12-13 Thread Kevin Minder
I'm trying to synchronize a particularly troublesome directory structure on a SunOS box to a PC. I really want all symbolic links resolved to real files on the PC when everything is done. I can't seem to find any combination of parameters that will accomplish this. It boils d

Re: symbolic links

2002-12-06 Thread Dave Dykstra
I'm sorry, I completely glossed over the -u and -b in your original email. I take back what I said and agree it is a bug. I can reproduce what you saw: mkdir foo bar echo hey >foo/file1 ln -s file1 foo/file2 sleep 1 echo there >bar/file1 echo guy >bar/file2 ls -l foo b

Re: symbolic links

2002-12-05 Thread Dave Dykstra
Personally I don't see why see why replacing a file with a symbolic link is any more dangerous than replacing it with a different file. Doesn't it back up the file if you use the --backup option? If you use the --update option rsync shouldn't replace any file or symlink that is newer than the eith

Re: symbolic links

2002-12-04 Thread Peter Sturdza
I don't see any option that works. My problem is not how it copies the links; it is that rsync will delete a regular file and replace it with the symlink when the file is newer than the symlink. The file is always erased with no backup. This seems wrong. Basically I use rysnc to keep files on

Re: symbolic links

2002-12-03 Thread Dave Dykstra
? > > In particular, I'd like to prevent the overwriting of > regular files with symbolic links and send a warning > message to the screen if it cannot be determined which > is more recent. > > Thanks, > Peter > > > ___

symbolic links

2002-11-26 Thread Peter Sturdza
rsync -aub foo/ bar/ will always overwrite a file in bar with a symbolic link of the same name in foo. And there is no backup written. Is this a bug, or is there a command-line option to change this behavior? In particular, I'd like to prevent the overwriting of regular files with sym

Re: Ignoring symbolic links

2002-01-09 Thread Harry Putnam
Martin Pool <[EMAIL PROTECTED]> writes: > On 9 Jan 2002, Harry Putnam <[EMAIL PROTECTED]> wrote: >> >> man rysnc says point blank that without the -l flag symbolic links >> will be ignored. > > It also says that -a implies -l. Erk.. and so it does. The

Re: Ignoring symbolic links

2002-01-09 Thread Martin Pool
On 9 Jan 2002, Harry Putnam <[EMAIL PROTECTED]> wrote: > > man rysnc says point blank that without the -l flag symbolic links > will be ignored. It also says that -a implies -l. -- Martin

Ignoring symbolic links

2002-01-09 Thread Harry Putnam
man rysnc says point blank that without the -l flag symbolic links will be ignored. -l, --links This tells rsync to recreate symbolic links on the remote system to be the same as the local system. Without this option, all symbolic links

Re: following symbolic links

2001-03-28 Thread Dave Dykstra
> from machine #1 to machine #2? > > Not quite sure of exactly what you're wanting, but have you looked > at the '-l' (copy symbolic links) and '-L' (treat symbolic links as > ordinary files) options? Also --copy-unsafe-links which preserve symlinks inside

Re: following symbolic links

2001-03-28 Thread M. Drew Streib
ting, but have you looked at the '-l' (copy symbolic links) and '-L' (treat symbolic links as ordinary files) options? -drew -- M. Drew Streib <[EMAIL PROTECTED]>, http://dtype.org "Email sigs waste valuable bandwidth." PGP signature

following symbolic links

2001-03-28 Thread charles . vogel
I am trying to rsync to keep two directory tree's in sync and I can't seem to get rsync to follow the symbolic links to include the files in the directory that the symbolic link points to. I have tried many different combinations without success. If I have the following:

Re: losing leading / when copying symbolic links

2001-02-08 Thread Dave Dykstra
On Thu, Feb 08, 2001 at 11:08:45AM -0500, Diab Jerius wrote: ... > Ok, I wasn't considering the fact that the client may be traversing > symbolic links to create the file list (I use the -x flag, and had > that fixed in my mindset). > > As for determining if the path is w

Re: losing leading / when copying symbolic links

2001-02-08 Thread Diab Jerius
o that securely. If you make a patch, I'll look it over and if it looks > OK I'll submit it to the rsync CVS. See the comment above sanitize_path() > in util.c. > > - Dave Dykstra > Ok, I wasn't considering the fact that the client may be traversing symbolic links t

Re: losing leading / when copying symbolic links

2001-02-08 Thread Dave Dykstra
On Thu, Feb 08, 2001 at 10:56:15AM -0500, Diab Jerius wrote: > On 8 Feb, [EMAIL PROTECTED] wrote: > > It may be that you can fix your problem without modifying rsync or getting root >access to do chroot, simply by making your symlinks relative in the source. > > If /module/dir/link points to /o

Re: losing leading / when copying symbolic links

2001-02-08 Thread tim . conway
/08/2001 08:50:11 AM Sent by:[EMAIL PROTECTED] To: Tim Conway/LMT/SC/PHILIPS@AMEC cc: [EMAIL PROTECTED]@SMTP [EMAIL PROTECTED]@SMTP Subject:Re: losing leading / when copying symbolic links Classification: On Thu, Feb 08, 2001 at 09:35:17AM -0600, [EMAIL PROTECTED] wrote

Re: losing leading / when copying symbolic links

2001-02-08 Thread Diab Jerius
On 8 Feb, [EMAIL PROTECTED] wrote: > It may be that you can fix your problem without modifying rsync or getting root >access to do chroot, simply by making your symlinks relative in the source. > If /module/dir/link points to /othermodule/otherdir, perhaps you could point it to >../../othermod

Re: losing leading / when copying symbolic links

2001-02-08 Thread Dave Dykstra
On Thu, Feb 08, 2001 at 09:35:17AM -0600, [EMAIL PROTECTED] wrote: > It may be that you can fix your problem without modifying rsync or getting > root access to do chroot, simply by making your symlinks relative in the > source. If /module/dir/link points to /othermodule/otherdir, perhaps you >

Re: losing leading / when copying symbolic links

2001-02-08 Thread tim . conway
: losing leading / when copying symbolic links Classification: On Thu, Feb 08, 2001 at 08:43:27AM -0500, Diab Jerius wrote: > Dave, > > Thanks, that's exactly it. I can't set chroot=yes, as I'm not running > the server as root. As much as it's nice to have soft

Re: losing leading / when copying symbolic links

2001-02-08 Thread Dave Dykstra
On Thu, Feb 08, 2001 at 08:43:27AM -0500, Diab Jerius wrote: > Dave, > > Thanks, that's exactly it. I can't set chroot=yes, as I'm not running > the server as root. As much as it's nice to have software prevent you > from shooting yourself in the foot, when you really want to, it should > let y

Re: losing leading / when copying symbolic links

2001-02-08 Thread Diab Jerius
Dave, Thanks, that's exactly it. I can't set chroot=yes, as I'm not running the server as root. As much as it's nice to have software prevent you from shooting yourself in the foot, when you really want to, it should let you. Is there any way around this? Diab On 7 Feb, Dave Dykstra wrote

Re: losing leading / when copying symbolic links

2001-02-07 Thread Dave Dykstra
On Wed, Feb 07, 2001 at 05:42:55PM -0500, Diab Jerius wrote: > Here's a mystery (to me at least!): > > I've got a symbolic link on the source disk which looks like this: > > > ls -l /proj/axaf/Simul/bin/mips4_r10k-IRIX-6/spatquant_bp > [...] > /proj/axaf/Simul/bin/mips4_r10k-IRIX-6/spatquant_bp

losing leading / when copying symbolic links

2001-02-07 Thread Diab Jerius
Here's a mystery (to me at least!): I've got a symbolic link on the source disk which looks like this: > ls -l /proj/axaf/Simul/bin/mips4_r10k-IRIX-6/spatquant_bp [...] /proj/axaf/Simul/bin/mips4_r10k-IRIX-6/spatquant_bp -> /proj/axaf/Simul/bin/mips4_r10k-IRIX-6/spatquant_bp-D2304 my rsyn

Re: symbolic links

2000-12-13 Thread tim . conway
AIL PROTECTED] 303.682.4900 Philips Semiconductor - Colorado TC 1880 Industrial Circle Suite D Longmont, CO 80501 [EMAIL PROTECTED]@[EMAIL PROTECTED] on 12/13/2000 08:33:06 AM Please respond to [EMAIL PROTECTED]@SMTP Sent by:[EMAIL PROTECTED] To: [EMAIL PROTECTED]@SMTP cc:

symbolic links

2000-12-13 Thread Epi Salamanca
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi all I tried to do a mirror with rsync, but the structure of directory that I want to download has some symbolic links,which they are maintained. The files into these directories aren't downloaded. Is there another way to download these fil

RE: Create symbolic links on remote machine

2000-09-25 Thread Philippe Lucas
x27;[EMAIL PROTECTED]' Objet: TR: Create symbolic links on remote machine -Message d'origine- De: Philippe Lucas [SMTP:[EMAIL PROTECTED]] Date: samedi 23 septembre 2000 20:20 À: '[EMAIL PROTECTED]' Objet: Create symbolic links on remote machine Hi, I have

Create symbolic links on remote machine

2000-09-23 Thread Philippe Lucas
Hi, I have a problem with mirroring soft links. Rsync doesn't create the symlink on the remote machine but a directory with the symlink content of the sending machine. For example, if I try to sync up the following directory : Sending machine --- drwxr-xr-x 2 root