summaryrefslogtreecommitdiffstats
path: root/main/bacula-client/bacula-5.0.3-sqlite-priv.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/bacula-client/bacula-5.0.3-sqlite-priv.patch')
-rw-r--r--main/bacula-client/bacula-5.0.3-sqlite-priv.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/main/bacula-client/bacula-5.0.3-sqlite-priv.patch b/main/bacula-client/bacula-5.0.3-sqlite-priv.patch
new file mode 100644
index 000000000..2738349fc
--- /dev/null
+++ b/main/bacula-client/bacula-5.0.3-sqlite-priv.patch
@@ -0,0 +1,9 @@
+diff -up src/cats/make_sqlite3_tables.in~ src/cats/make_sqlite3_tables.in
+--- ./src/cats/make_sqlite3_tables.in~ 2010-11-16 17:57:12.705837000 +0100
++++ ./src/cats/make_sqlite3_tables.in 2010-11-16 17:57:12.715837000 +0100
+@@ -426,4 +426,5 @@ PRAGMA synchronous = NORMAL;
+ END-OF-DATA
+
+ chmod 640 ${db_name}.db
++chown bacula:bacula ${db_name}.db
+ exit 0