bacula/bacula-sqlite-priv.patch

10 lines
382 B
Diff
Raw Normal View History

2021-01-12 11:38:25 +00:00
diff -Naur bacula-11.0.0.old/src/cats/make_sqlite3_tables.in bacula-11.0.0/src/cats/make_sqlite3_tables.in
--- bacula-11.0.0.old/src/cats/make_sqlite3_tables.in 2021-01-12 12:36:32.660470643 +0100
+++ bacula-11.0.0/src/cats/make_sqlite3_tables.in 2021-01-12 12:38:45.241897767 +0100
@@ -555,4 +555,5 @@
2017-09-15 11:52:51 +00:00
echo ""
chmod 640 ${db_name}.db
+chown bacula:bacula ${db_name}.db
exit 0