From owner-freebsd-questions@FreeBSD.ORG Fri Apr 28 15:31:52 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F39716A403 for ; Fri, 28 Apr 2006 15:31:52 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81A3943D46 for ; Fri, 28 Apr 2006 15:31:51 +0000 (GMT) (envelope-from stapleton.41@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so1363934wxc for ; Fri, 28 Apr 2006 08:31:50 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bnYyUuexQN3dqcienz/PxMySlBv96gnViTAAsGloqLLrHUuLvQZFf88jiKEWmSU7ClzcpLUozNUaPhstKA2JaenEOHCf7OPQGj/s4Qai/bBBEv5f1XGb2lHogREOwDi3QLECte8ioF3PHe7+cDBjVUhf8kNQI7UlHcNF4UnrG9Y= Received: by 10.70.116.7 with SMTP id o7mr81030wxc; Fri, 28 Apr 2006 08:31:50 -0700 (PDT) Received: by 10.70.76.10 with HTTP; Fri, 28 Apr 2006 08:31:50 -0700 (PDT) Message-ID: <80f4f2b20604280831w608b01b3hd8e757a539c8b82a@mail.gmail.com> Date: Fri, 28 Apr 2006 11:31:50 -0400 From: "Jim Stapleton" To: freebsd-questions@freebsd.org In-Reply-To: <80f4f2b20604280827n34b2b80ci59c274ebd7c284aa@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <80f4f2b20604280642x132ddd28k433d97edc5ef3ee6@mail.gmail.com> <4452211F.6050504@scls.lib.wi.us> <80f4f2b20604280710w53df2083x3bb93096586f292f@mail.gmail.com> <80f4f2b20604280751j5be3c7d4q7810c146f4d9bc92@mail.gmail.com> <4452315F.6050500@scls.lib.wi.us> <80f4f2b20604280827n34b2b80ci59c274ebd7c284aa@mail.gmail.com> Subject: Re: rsnapshot: /bin/cp failed X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Apr 2006 15:31:52 -0000 Now I'm getting a nother problem: gcp is trying to follow symlinks, even though it's being called with "-al", and -a implies no-dereference, which means it shouldn't follow symllinks anyway, I tried the two commands listed at the end of this, with the listed results. Anyone know of this issue with gcp? Thanks, -Jim gcp version check: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D root@aragorn 10:48:53 (0) /music/backup > gcp --version cp (coreutils) 5.2.1 Written by Torbjorn Granlund, David MacKenzie, and Jim Meyering. Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Getting file information of some of the problematic files (they are symlinks to sockets): =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sjss@aragorn 11:28:42 (0) /music/local_music > ls -l /music/backup/hourly.0/localhost/home/sjss/.kde total 4 drwx------ 2 sjss 512 Apr 24 18:46 Autostart/ lrwxr-xr-x 1 sjss 22 Apr 23 21:59 cache-aragorn.ameritech.net -> /var/tmp/kdecache-sjss/ drwx------ 9 sjss 512 Apr 25 17:18 share/ lrwxr-xr-x 1 sjss 17 Apr 23 21:59 socket-aragorn.ameritech.net -> /tmp/ksocket-sjss/ lrwxr-xr-x 1 sjss 13 Apr 23 21:59 tmp-aragorn.ameritech.net -> /tmp/kde-s= jss/ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D manual copy attempt 1: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D root@aragorn 10:48:53 (0) /music/backup > /usr/local/bin/gcp -al --no-dereference /music/backup/hourly.0/ /music/backup/hourly.1/ /usr/local/bin/gcp: cannot create link `/music/backup/hourly.1/localhost/home/sjss/.DCOPserver_aragorn.ameritech.n= et_:0': Cross-device link /usr/local/bin/gcp: cannot create link `/music/backup/hourly.1/localhost/home/sjss/.kde/cache-aragorn.ameritech.ne= t': Operation not permitted /usr/local/bin/gcp: cannot create link `/music/backup/hourly.1/localhost/home/sjss/.kde/socket-aragorn.ameritech.n= et': Operation not permitted /usr/local/bin/gcp: cannot create link `/music/backup/hourly.1/localhost/home/sjss/.kde/tmp-aragorn.ameritech.net'= : Operation not permitted /usr/local/bin/gcp: cannot create link `/music/backup/hourly.1/localhost/home/sjss/.mozilla/firefox/6xag483y.defau= lt/lock': No such file or directory /usr/local/bin/gcp: cannot create link `/music/backup/hourly.1/localhost/home/sjss/.mplayer/input.kbtv': Cross-device link /usr/local/bin/gcp: cannot create link `/music/backup/hourly.1/localhost/home/sjss/dev/gdhls/src/system_opt': Operation not permitted /usr/local/bin/gcp: cannot create link `/music/backup/hourly.1/localhost/etc/namedb': No such file or directory /usr/local/bin/gcp: cannot create link `/music/backup/hourly.1/localhost/etc/rmt': Cross-device link /usr/local/bin/gcp: cannot create link `/music/backup/hourly.1/localhost/etc/termcap': Cross-device link =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D manual copy attempt 2: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D root@aragorn 10:48:53 (0) /music/backup > /usr/local/bin/gcp -al --no-dereference /music/backup/hourly.0/ /music/backup/hourly.1/ /usr/local/bin/gcp: cannot create link `/music/backup/hourly.1/localhost/home/sjss/.DCOPserver_aragorn.ameritech.n= et_:0': Cross-device link /usr/local/bin/gcp: cannot create link `/music/backup/hourly.1/localhost/home/sjss/.kde/cache-aragorn.ameritech.ne= t': Operation not permitted /usr/local/bin/gcp: cannot create link `/music/backup/hourly.1/localhost/home/sjss/.kde/socket-aragorn.ameritech.n= et': Operation not permitted /usr/local/bin/gcp: cannot create link `/music/backup/hourly.1/localhost/home/sjss/.kde/tmp-aragorn.ameritech.net'= : Operation not permitted /usr/local/bin/gcp: cannot create link `/music/backup/hourly.1/localhost/home/sjss/.mozilla/firefox/6xag483y.defau= lt/lock': No such file or directory /usr/local/bin/gcp: cannot create link `/music/backup/hourly.1/localhost/home/sjss/.mplayer/input.kbtv': Cross-device link /usr/local/bin/gcp: cannot create link `/music/backup/hourly.1/localhost/home/sjss/dev/gdhls/src/system_opt': Operation not permitted /usr/local/bin/gcp: cannot create link `/music/backup/hourly.1/localhost/etc/namedb': No such file or directory /usr/local/bin/gcp: cannot create link `/music/backup/hourly.1/localhost/etc/rmt': Cross-device link /usr/local/bin/gcp: cannot create link `/music/backup/hourly.1/localhost/etc/termcap': Cross-device link =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D