X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=ud-replicate;h=87491a367d5df37ce418b08e89fe61e9077de814;hb=9cf20ca6242f82b48ca3d201fab98ba1aabbfe49;hp=fb6834c8558710e7da8173bed12e951fbbeee05d;hpb=05c6861e0202cb70a062df9efc33f9bcc2907b7c;p=mirror%2Fuserdir-ldap.git diff --git a/ud-replicate b/ud-replicate index fb6834c..87491a3 100755 --- a/ud-replicate +++ b/ud-replicate @@ -105,6 +105,11 @@ if [ -e ${HOST}/ssh-keys.tar.gz ]; then rsync -a --delete-after $tempdir/ userkeys/ fi +if [ -e ${HOST}/web-passwords ]; then + chown root:www-data ${HOST}/web-passwords + chmod 0640 ${HOST}/web-passwords +fi + CHROOTS="" if [ -x /usr/bin/dchroot ]; then CHROOTS=`dchroot --listpaths`