diff options
author | Micah Anderson <micah@riseup.net> | 2005-11-04 23:35:29 +0000 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2005-11-04 23:35:29 +0000 |
commit | e005e25e1af5fc951d4cbcffab73f0637bca2058 (patch) | |
tree | a283ae080af2e16d1aa50bf78f78b03bfe494d30 /handlers | |
parent | 25e9a9cb17cc7240bac8ddd811f4701af1a92178 (diff) | |
download | backupninja-e005e25e1af5fc951d4cbcffab73f0637bca2058.tar.gz backupninja-e005e25e1af5fc951d4cbcffab73f0637bca2058.tar.bz2 |
Made ninjahelper create files in /etc/backup.d with mode 600 instead of 000
Diffstat (limited to 'handlers')
-rw-r--r-- | handlers/ldap.helper | 2 | ||||
-rw-r--r-- | handlers/mysql.helper | 2 | ||||
-rw-r--r-- | handlers/pgsql.helper | 2 | ||||
-rw-r--r-- | handlers/rdiff.helper | 2 | ||||
-rw-r--r-- | handlers/sys.helper | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/handlers/ldap.helper b/handlers/ldap.helper index 7670817..838c731 100644 --- a/handlers/ldap.helper +++ b/handlers/ldap.helper @@ -44,7 +44,7 @@ $passwordfile # conf = /etc/ldap/slapd.conf # databases = all EOF - chmod 000 $next_filename + chmod 600 $next_filename return done } diff --git a/handlers/mysql.helper b/handlers/mysql.helper index 554464b..b7efe99 100644 --- a/handlers/mysql.helper +++ b/handlers/mysql.helper @@ -64,7 +64,7 @@ $compress # backupdir = /var/backups/mysql # dbhost = localhost EOF - chmod 000 $next_filename + chmod 600 $next_filename } mysql_wizard() { diff --git a/handlers/pgsql.helper b/handlers/pgsql.helper index 8f9a8d4..8baa39f 100644 --- a/handlers/pgsql.helper +++ b/handlers/pgsql.helper @@ -84,6 +84,6 @@ $pgsql_databases $pgsql_compress EOF - chmod 000 $next_filename + chmod 600 $next_filename } diff --git a/handlers/rdiff.helper b/handlers/rdiff.helper index 066d53a..b68a70e 100644 --- a/handlers/rdiff.helper +++ b/handlers/rdiff.helper @@ -141,7 +141,7 @@ directory = $rdiff_directory host = $rdiff_host user = $rdiff_user EOF - chmod 000 $next_filename + chmod 600 $next_filename } rdiff_main_menu() { diff --git a/handlers/sys.helper b/handlers/sys.helper index 060e96c..a984c05 100644 --- a/handlers/sys.helper +++ b/handlers/sys.helper @@ -27,6 +27,6 @@ $hardware # partitionsfile = /var/backups/partitions.__star__.txt # hardwarefile = /var/backups/hardware.txt EOF - chmod 000 $next_filename + chmod 600 $next_filename } |