"PS" == Paul Stewart pstewart@nexicomgroup.net
Paul,
PS> Could someone please explain the "bit flips" ? Sorry, I PS> haven't taken any time to understand this .. is it just a PS> matter of the correct rsync command switches?
PS> In our rsync crontab we have:
PS> # CENTOS Mirror 01 * * * * www-data /usr/bin/rsync -rtlzv PS> --delete rsync://mirror.steadfast.net/centos/ /var/centos/
You should be using the -p flag to preserve permissions, which will change the permissions over when they're changed upstream. (We use
-vaH ${EXCLUDES} --numeric-ids \ --delay-updates \ --delete --delete-after
the -a flag includes -rlptgoD; -H preserves hard links, which is -also desirable.)
Some distros (like Fedora) do the staging behind a restricted directory and then ask mirrors to do the bitflip at a particular time by changing the permissions by hand or with a cron or at job, but CentOS appears to be propagating the bitflip through the mirror network instead.
Claire
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* Claire Connelly cmc@math.hmc.edu System Administrator (909) 621-8754 Department of Mathematics Harvey Mudd College *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* For System News: http://www.math.hmc.edu/computing/news/ or http://twitter.com/hmcmathcomp/. *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*