Move a configuration file

James Antill james at
Mon Mar 8 07:07:44 UTC 2010

On Sun, 2010-03-07 at 17:55 +0100, Johan Cwiklinski wrote:
> Hello,
> I have a small question regarding a "configuration file" for BackupPC.
> BackupPC requires a file for apache users. This file is referenced in
> /etc/httpd/conf.d/BackupPC.conf and points to
> /usr/share/BackupPC/apache.users.
> I think that is a mistake, and such a file should better be placed in
> /etc/BackupPC/apache.users.
> If I change the path in conf.d/BackupPC.conf ; users who have modified
> the .conf file will get a conf.rpmnew file ; that's fine.
> The ones who did not change the .conf file will have it replaced by RPM,
> breaking the apache authentication.
> Any thoughts about that?

 To give a slightly different opinion, I'd move the users file but put a
symlink in the old place pointing to the new place ... then both old and
new config. files will work.
 As other said, watch out for relabeling etc.

More information about the devel mailing list