From owner-freebsd-questions@FreeBSD.ORG Fri Sep 30 14:06:45 2005 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 0B68B16A53E for ; Fri, 30 Sep 2005 14:06:45 +0000 (GMT) (envelope-from rr@rajarajan.homeunix.net) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [204.127.198.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7876A43D4C for ; Fri, 30 Sep 2005 14:06:43 +0000 (GMT) (envelope-from rr@rajarajan.homeunix.net) Received: from rajarajan.homeunix.net ([68.55.250.33]) by comcast.net (rwcrmhc12) with ESMTP id <2005093014064101400ktit5e>; Fri, 30 Sep 2005 14:06:42 +0000 Received: from rajarajan.homeunix.net (localhost [127.0.0.1]) by rajarajan.homeunix.net (8.13.3/8.13.1) with ESMTP id j8UE6dtf007201 for ; Fri, 30 Sep 2005 10:06:40 -0400 (EDT) (envelope-from rr@rajarajan.homeunix.net) Received: (from rr@localhost) by rajarajan.homeunix.net (8.13.3/8.13.1/Submit) id j8UE6dpJ007196 for freebsd-questions@freebsd.org; Fri, 30 Sep 2005 10:06:39 -0400 (EDT) (envelope-from rr) Date: Fri, 30 Sep 2005 10:06:39 -0400 From: Rajarajan Rajamani To: freebsd-questions@freebsd.org Message-ID: <20050930140639.GA7111@rajarajan.homeunix.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Organization: Rajarajan Rajamani, Laurel, MD 20723 X-Spam-Status: No, score=-5.0 required=4.4 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=unavailable version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on rajarajan.homeunix.net X-Virus-Scanned: ClamAV devel-20050715/1105/Thu Sep 29 17:31:04 2005 on rajarajan.homeunix.net X-Virus-Status: Clean Subject: rsync unable to sync suid files 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, 30 Sep 2005 14:06:45 -0000 I am running Release 5.4 with 2 disks and am using rsync to sync between the two. On installing the second disk I used dump/restore to mirror them and am since using rsync for incremental changes. However I have a problem that rsync is unable to copy some files and I suspect it is has something to do with the suid files. Am I missing some switch to rsync ? This is the output ---- # rsync --archive --times --verbose --delete --links --hard-links /usr/ /backup/usr building file list ... done bin/chfn bin/crontab bin/login bin/opieinfo bin/opiepasswd bin/passwd bin/rlogin bin/rsh bin/su lib/libc_r.so.5 lib/libpthread.so.1 lib/libthr.so.1 rsync: rename "/backup/usr/bin/.chfn.n9bmTM" -> "bin/chfn": Operation not permitted (1) rsync: rename "/backup/usr/bin/.crontab.2cRdng" -> "bin/crontab": Operation not permitted (1) bin/chpass bin/chsh bin/ypchfn bin/ypchpass bin/ypchsh rsync: rename "/backup/usr/bin/.login.afaGPu" -> "bin/login": Operation not permitted (1) rsync: rename "/backup/usr/bin/.opieinfo.khGnuB" -> "bin/opieinfo": Operation not permitted (1) rsync: rename "/backup/usr/bin/.opiepasswd.IUIwr4" -> "bin/opiepasswd": Operation not permitted (1) rsync: rename "/backup/usr/bin/.passwd.DZeNlh" -> "bin/passwd": Operation not permitted (1) sbin/sliplogin bin/yppasswd rsync: rename "/backup/usr/bin/.rlogin.NQALJo" -> "bin/rlogin": Operation not permitted (1) rsync: rename "/backup/usr/bin/.rsh.a8Y0ck" -> "bin/rsh": Operation not permitted (1) rsync: rename "/backup/usr/bin/.su.REqmlZ" -> "bin/su": Operation not permitted (1) rsync: rename "/backup/usr/lib/.libc_r.so.5.5qXxhc" -> "lib/libc_r.so.5": Operation not permitted (1) rsync: rename "/backup/usr/lib/.libpthread.so.1.rdy2Z7" -> "lib/libpthread.so.1": Operation not permitted (1) rsync: rename "/backup/usr/lib/.libthr.so.1.hxrWjS" -> "lib/libthr.so.1": Operation not permitted (1) rsync: rename "/backup/usr/sbin/.sliplogin.ILQ9G3" -> "sbin/sliplogin": Operation not permitted (1) Any hints ? Regards, RR