Added the "Emacs comment line" on top of every shell file.
[matthijs/upstream/backupninja.git] / handlers / ldap.helper
index 7670817d775b8d8568936e2ec151376338727dbd..bd77ca1f093edd44d27a68a015076182dc06321e 100644 (file)
@@ -1,3 +1,4 @@
+# -*- mode: sh; sh-basic-offset: 3; 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
 }