From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 07:06:28 2003 Return-Path: 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 870BC16A4B3 for ; Mon, 6 Oct 2003 07:06:28 -0700 (PDT) Received: from merle.it.northwestern.edu (merle.it.northwestern.edu [129.105.16.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8812D43FAF for ; Mon, 6 Oct 2003 07:06:27 -0700 (PDT) (envelope-from r-militante@northwestern.edu) Received: (from mailnull@localhost) by merle.it.northwestern.edu (8.12.10/8.12.10) id h96E6Q8e007377 for ; Mon, 6 Oct 2003 09:06:26 -0500 (CDT) Received: from merle.it.northwestern.edu (darkpossum.medill.northwestern.edu [129.105.51.23]) by merle.it.northwestern.edu via smap (V2.0) id xma006682; Mon, 6 Oct 03 09:06:15 -0500 Date: Mon, 6 Oct 2003 08:58:02 -0500 From: Redmond Militante To: freebsd-questions@freebsd.org Message-ID: <20031006135802.GA868@darkpossum> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bg08WKrSYDhXBjb5" Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Sender: redmond@darkpossum.medill.northwestern.edu X-URL: http://darkpossum.medill.northwestern.edu/modules.php?name=Content&pa=showpage&pid=1 X-DSA-and-ElGamal-Fingerprint: 2AA2 E78E A6FC 9144 3534 39A2 EE0F 8D26 5FDF 481D Subject: rsync/mirroring permissions problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Redmond Militante List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2003 14:06:28 -0000 --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable hi all i'm trying to do a 'push' rsync operation to mirror the contents of my webs= ites root directory on one machine over to a remote machine. rsync is inst= alled on both machines. the command i'm using to rsync is rsync -e ssh -avz --exclude "/phpSysInfo" --exclude "/webalizer" --exclude = "/phpMyAdmin" --delete --stats /usr/local/www/data-dist/ remote.machine.com= =3D:/usr/local/www/data-dist/=20 this works, for the most part. the majority of files on the remote director= y are sync'ed correctly after the operation. the problem is - this website= s root directory is owned by one user - webuser, who is a member of group -= webuser. various subdirectories inside of the websites root folder are ow= ned by other users, who are also members of the 'webuser' group. the files= /folders in the websites root direcotry are chmod'ed 775. this causes problems with the rsync operation, as i'm rsync'ing as webuser:= webuser. i get errors during the rsync process such as failed to set permissions on studentwork/winter03old/war/images : Operation= not permitted again, the majority of files sync correctly. but can anyone recommend a go= od way around this? i'm not able at this point to limit the websites root = directory to only one user account... thanks redmond --=20 FreeBSD 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #0: Fri Oct 3 21:30:51 CDT = 2003 8:30AM up 22:46, 1 user, load averages: 1.69, 1.61, 1.47 =20 Ever notice that even the busiest people are never too busy to tell you just how busy they are. =20 --bg08WKrSYDhXBjb5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/gXTq7g+NJl/fSB0RAv26AJ9II5EJyoMgIflxXMdlvDIGUvlFtgCgnb9w DOrSI8UtSMMfODo94QRLIOM= =6iQT -----END PGP SIGNATURE----- --bg08WKrSYDhXBjb5--