[Bacula-users] make_catalog_backup.pl 5.0.0 bug my.cnf chmod
2010-02-02 19:10:00
Possibly there is a bug in make_catalog_backup.pl
The script creates for my Mysql setup the /var/lib/bacula/.my.cnf file.
All settings are correct except the file acl.
ll /var/lib/bacula/.my.cnf
----rw-rw- 1 bacula bacula 54 2. Feb 20:23 /var/lib/bacula/.my.cnf
This file is ignore because of the world-wide read:
Warning: World-writable config file '/var/lib/bacula/.my.cnf' is ignored
So the login data isnt recognized and i get a failed mysql login.
line 92 of make_catalog_backup.pl gives :
umask(0700);
i corrected this to
umask(0077);
Now the catalog dumb works.
ll /var/lib/bacula/.my.cnf
-rw------- 1 bacula bacula 54 2. Feb 20:25 /var/lib/bacula/.my.cnf
Can anybody confirm this ?
thx in advance
+----------------------------------------------------------------------
|This was sent by info AT connextis DOT de via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Bacula-users] make_catalog_backup.pl 5.0.0 bug my.cnf chmod,
connextis <=
|
|
|