ud-replicate: set correct permissions for web-passwords
authorMartin Zobel-Helas <zobel@debian.org>
Fri, 9 Mar 2012 09:33:57 +0000 (10:33 +0100)
committerMartin Zobel-Helas <zobel@debian.org>
Fri, 9 Mar 2012 09:33:57 +0000 (10:33 +0100)
Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
debian/changelog
ud-replicate

index c522b7a..07e3cbf 100644 (file)
@@ -23,7 +23,11 @@ userdir-ldap (0.3.XXX) UNRELEASED; urgency=low
   * Fix deprecation warnings for sha module by using hashlib module instead
   * ud-fingerserv: update Net::LDAP import
 
- -- Peter Palfrader <weasel@debian.org>  Mon, 05 Mar 2012 11:55:33 +0100
+  [ Martin Zobel-Helas ]
+  * ud-generate: generate webPasswords
+  * ud-replicate: set correct permissions for web-passwords
+
+ -- Martin Zobel-Helas <zobel@debian.org>  Fri, 09 Mar 2012 10:32:44 +0100
 
 userdir-ldap (0.3.79) unstable; urgency=low
 
index fb6834c..87491a3 100755 (executable)
@@ -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`