r261@crapouille: intrigeri | 2005-12-28 20:59:01 +0100
[matthijs/upstream/backupninja.git] / handlers / ldap.helper
index 7670817d775b8d8568936e2ec151376338727dbd..cfc99336493cae034caadeaac2be712833e956c5 100644 (file)
@@ -1,3 +1,4 @@
+# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*-
 HELPERS="$HELPERS ldap:ldap_database_backup"
 
 ldap_create_file() {
@@ -44,7 +45,7 @@ $passwordfile
 # conf = /etc/ldap/slapd.conf
 # databases = all
 EOF
-     chmod 000 $next_filename
+     chmod 600 $next_filename
      return
 done
 }