I am pleased to announce a new UK mirror of CentOS. Please feel free to add these to your lists. Syncing four times daily from eu-msync.centos.org.
http://mirror.ox.ac.uk/sites/mirror.centos.org/ ftp://mirror.ox.ac.uk/sites/mirror.centos.org/
Located in Oxford, Oxfordshire, United Kingdom Bandwidth available: 1Gb/s Sponsor: Oxford University Computing Services http://www.oucs.ox.ac.uk/ Contact: sysdev@oucs.ox.ac.uk
I'm in process of putting together a public mirror and noticed the ownership on my files seem to keep swapping between uid/gid 502, 503 and I think I've seen 500 as well. The mirror howto suggests using rsync with -aqzH, which of course is going to retain the permissions of the synced files. Do others just put up with the ownership changes or are they splitting up the -a option into only some of its parts?
Thanks.
Matt Ruzicka Sr. Systems Engineer mruzicka@cisp.com www.cisp.com www.yocolo.com 419.724.5345 : tel 419.867.6913 : fax
On Wed, Oct 28, 2009 at 4:55 PM, Matt Ruzicka mruzicka@cisp.com wrote:
I'm in process of putting together a public mirror and noticed the ownership on my files seem to keep swapping between uid/gid 502, 503 and I think I've seen 500 as well. The mirror howto suggests using rsync with -aqzH, which of course is going to retain the permissions of the synced files. Do others just put up with the ownership changes or are they splitting up the -a option into only some of its parts?
Thanks.
My options are slightly different but I do use the -a option and I've never had an issue (that I know of) with the files not being available via the web.
Matt
-- Mathew S. McCarrell Clarkson University '10
mccarrms@gmail.com mccarrms@clarkson.edu 1-518-314-9214
On Wed, 28 Oct 2009, Matt Ruzicka wrote:
I'm in process of putting together a public mirror and noticed the ownership on my files seem to keep swapping between uid/gid 502, 503 and I think I've seen 500 as well. The mirror howto suggests using rsync with -aqzH, which of course is going to retain the permissions of the synced files. Do others just put up with the ownership changes or are they splitting up the -a option into only some of its parts?
On mirror.chpc.utah.edu, I don't have the ownership bouncing, because I don't run the rsync as root.
I run the rsync as the user "mirror". All the files are owned by "mirror". I then have httpd run as user httpd and rsyncd as user rsync.
DR
David Richardson wrote:
On Wed, 28 Oct 2009, Matt Ruzicka wrote:
I'm in process of putting together a public mirror and noticed the ownership on my files seem to keep swapping between uid/gid 502, 503 and I think I've seen 500 as well. The mirror howto suggests using rsync with -aqzH, which of course is going to retain the permissions of the synced files. Do others just put up with the ownership changes or are they splitting up the -a option into only some of its parts?
On mirror.chpc.utah.edu, I don't have the ownership bouncing, because I don't run the rsync as root.
I run the rsync as the user "mirror". All the files are owned by "mirror". I then have httpd run as user httpd and rsyncd as user rsync.
We do this as well on mirror.steadfast.net (though we don't run rsyncd). There's no reason you should need to run your rsyncs as the root user.
Yeah, this makes perfect sense and I should have thought of it. I already had rsyncd and apache separated, but now have the actual rsync running as a different user as well. I'm trying to ensure selinux stays on as part of this as well, but I'm running into a minor issue with the HEADER.* symlinks getting permission denieds when I test rsyncing from my server. Should hopefully be able to get that sorted out soon.
Thanks for the feedback.
Matt Ruzicka Sr. Systems Engineer mruzicka@cisp.com www.cisp.com www.yocolo.com 419.724.5345 : tel 419.867.6913 : fax
-----Original Message----- From: centos-mirror-bounces@centos.org [mailto:centos-mirror-bounces@centos.org] On Behalf Of Kevin Stange Sent: Wednesday, October 28, 2009 5:11 PM To: Mailing list for CentOS mirrors. Subject: Re: [CentOS-mirror] rsync file ownership
David Richardson wrote:
On Wed, 28 Oct 2009, Matt Ruzicka wrote:
I'm in process of putting together a public mirror and noticed the ownership on my files seem to keep swapping between uid/gid 502, 503 and I think I've seen 500 as well. The mirror howto suggests using rsync with -aqzH, which of course is going to retain the permissions of the synced files. Do others just put up with the ownership changes or are they splitting up the -a option into only some of its parts?
On mirror.chpc.utah.edu, I don't have the ownership bouncing, because I don't run the rsync as root.
I run the rsync as the user "mirror". All the files are owned by "mirror". I then have httpd run as user httpd and rsyncd as user rsync.
We do this as well on mirror.steadfast.net (though we don't run rsyncd). There's no reason you should need to run your rsyncs as the root user.
-- Kevin Stange Chief Technology Officer Steadfast Networks http://steadfast.net Phone: 312-602-2689 ext. 203 | Fax: 312-602-2688 | Cell: 312-320-5867
On Tue, Oct 27, 2009 at 10:05:26AM +0000, Dominic Hargreaves wrote:
I am pleased to announce a new UK mirror of CentOS. Please feel free to add these to your lists. Syncing four times daily from eu-msync.centos.org.
http://mirror.ox.ac.uk/sites/mirror.centos.org/ ftp://mirror.ox.ac.uk/sites/mirror.centos.org/
Located in Oxford, Oxfordshire, United Kingdom Bandwidth available: 1Gb/s Sponsor: Oxford University Computing Services http://www.oucs.ox.ac.uk/ Contact: sysdev@oucs.ox.ac.uk
Your mirror has just been added and should show up within the next hours.
Best regards,
Tru