bacula/bacula-5.0.3-sqlite-priv.patch
Jan Görig 38c1d437b6 - Fixed alternatives for dbcheck (#650224)
- Moved director log file to /var/log/bacula/
- Changed permission of bacula-dir.conf (RHEL #651786)
- SQLite database is created as bacula user
2010-11-23 17:42:06 +01:00

10 lines
356 B
Diff

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