On Thu, 21 Feb 2019 22:36:26 +0100 Hubert SCHMITT <sch...@gmail.com> wrote:
> But i really don't understand what's wrong. > > The rights are the same on my side : > -rw-r----- 1 backuppc apache 85K 21 févr. 20:31 config.pl > -rw-r----- 1 backuppc apache 82K 27 déc. 2014 > config.pl_20141227_OK -rw-r----- 1 backuppc apache 82K 17 avril > 2016 config.pl.old -rw-r----- 1 backuppc apache 86K 19 févr. 14:16 > config.pl.pre-4.3.0 > > Apache is running with : User backuppc and Group apache in httpd.conf > > The umask is set in config.pl with : > > # > # Permission mask for directories and files created by BackupPC. > # Default value prevents any access from group other, and prevents > # group write. > # > $Conf{UmaskMode} = 027; > > Since three days now i'm searching a solution but without any success. > > Think i'll throw in the towel now and only modify config files through PLS don't top post. The problem is: as your file 'config.pl' only has r(read) permission for the user 'apache', you CAN'T write it as the writing is made using the HTTP server identity (hence, group 'apache'), NOT by BPC. umask is also correct, as it'll assign rwxr-w--- permissions to the files that BPC write (the data backup files, nothing to do w/ the configuration file.) Do a: chmod 660 /etc/backuppc/config.pl and that'll do the trick. JY _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/