Thanks for your answer Jean Yves,

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 vi.

Regards,
Schhub.


Le mer. 20 févr. 2019 à 22:49, Bzzzz <lazyvi...@gmx.com> a écrit :

> On Wed, 20 Feb 2019 22:22:48 +0100
> Hubert SCHMITT <sch...@gmail.com> wrote:
>
> > Good evening to all.
>
> Good dayght
>
> > I updated my Gentoo recently and since it's done i can't write any
> > BackupPC configuration changes through the CGI, i always get the same
> > message : *TextFileWrite: Failed to
> > write /etc/BackupPC/pc/myhost.pl.new (errno = Read-only file system,
> > uids = 1005,1005, gids = 81 81,81 81, umask = 027, ver = v5.26.2, prog
>                                         ^^^^^^^^^^^
>
> your problem seems to lay here, 027 == rwxr-x--- (inverse of mask)
> so, the apache user can't write to your file, even if the file
> owner/group is: backuppc:www-data (or whatever group apache user is in.)
>
> Mine is:
> -rw-rw---- 1 backuppc www-data 99613 2019-02-20 00:13 config.pl
>
> Jean-Yves
>
>
> _______________________________________________
> 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/
>
_______________________________________________
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/

Reply via email to