Hi guys,
Bareos 20.0.2 on FBSD 13.0-Release.
It's been running fine for a couple of months, and today I added a client and when doing
It comes back with:
Which I find odd since I made sure that owner and perms on the new files are correct.
What's even more strange is that even though bareos own the files, and uid and gid matches, it still won't start.
bareos-sd and bareos-fd runs fine.
File perms when not working:
But if I do a chmod -R 644 /usr/local/etc/bareos/bareos-dir.d it works.
What am I missing? Shouldn't bareos-dir run as bareos or?
Any advice is appreciated, thanks.
/tony
Bareos 20.0.2 on FBSD 13.0-Release.
It's been running fine for a couple of months, and today I added a client and when doing
Code:
service bareos-dir restart
It comes back with:
Code:
Performing sanity check on /usr/local/etc/bareos/ configuration:
Starting bareos_dir.
bareos-dir: ERROR TERMINATION at lib/parse_conf.cc:242
Config error: Cannot open config file "/usr/local/etc/bareos/bareos-dir.d/*/*.conf": Permission denied
Which I find odd since I made sure that owner and perms on the new files are correct.
What's even more strange is that even though bareos own the files, and uid and gid matches, it still won't start.
bareos-sd and bareos-fd runs fine.
File perms when not working:
Code:
-rw-r----- 0 bareos bareos 558 Dec 15 12:35 usr/local/etc/bareos/bareos-dir.d/jobdefs/PmWikiServerJob.conf
-rw-r----- 0 bareos bareos 565 Dec 15 12:35 usr/local/etc/bareos/bareos-dir.d/jobdefs/BackupServerJob.conf
-rw-r----- 0 bareos bareos 566 Dec 15 12:35 usr/local/etc/bareos/bareos-dir.d/jobdefs/NextcloudServerJob.conf
-rw-r----- 0 bareos bareos 628 Dec 15 12:35 usr/local/etc/bareos/bareos-dir.d/jobdefs/DefaultJob.conf
-rw-r----- 0 bareos bareos 566 Jan 5 16:42 usr/local/etc/bareos/bareos-dir.d/jobdefs/WordpressServerJob.conf
But if I do a chmod -R 644 /usr/local/etc/bareos/bareos-dir.d it works.
What am I missing? Shouldn't bareos-dir run as bareos or?
Any advice is appreciated, thanks.
/tony