dup (helper + handler + example config) : don't pretend anymore that duplicity
[matthijs/upstream/backupninja.git] / handlers / ldap.helper
index 7670817d775b8d8568936e2ec151376338727dbd..9aecec8c0ec53ea19e4c8e6618d1eb867022c9b1 100644 (file)
@@ -1,3 +1,5 @@
+# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*-
+
 HELPERS="$HELPERS ldap:ldap_database_backup"
 
 ldap_create_file() {
@@ -44,7 +46,7 @@ $passwordfile
 # conf = /etc/ldap/slapd.conf
 # databases = all
 EOF
-     chmod 000 $next_filename
+     chmod 600 $next_filename
      return
 done
 }