Re: [BackupPC-users] Can't write config.pl files through CGI interface.

2019-02-23 Thread Hubert SCHMITT
On Thu, Feb 21, 2019 at 11:16 PM Hubert SCHMITT wrote: > >> >> >> Le ven. 22 févr. 2019 à 01:12, Ray Frush a >> écrit : >> >>> All- >>> >>> I had to write the following SELinux type enforcement policy file >>> ‘backuppc.te’ to allow the httpd daemon access to access the required files >>> under /

Re: [BackupPC-users] Can't write config.pl files through CGI interface.

2019-02-22 Thread Craig Barratt via BackupPC-users
Is selinux enabled? That can enforce all sorts of limitations on what services can do. Craig On Thu, Feb 21, 2019 at 11:16 PM Hubert SCHMITT wrote: > > > Le ven. 22 févr. 2019 à 01:12, Ray Frush a > écrit : > >> All- >> >> I had to write the following SELinux type enforcement policy file >> ‘

Re: [BackupPC-users] Can't write config.pl files through CGI interface.

2019-02-21 Thread Hubert SCHMITT
Le ven. 22 févr. 2019 à 01:12, Ray Frush a écrit : > All- > > I had to write the following SELinux type enforcement policy file > ‘backuppc.te’ to allow the httpd daemon access to access the required files > under /etc/BackupPC even after getting httpd setup to run as the ‘backuppc’ > user.Th

Re: [BackupPC-users] Can't write config.pl files through CGI interface.

2019-02-21 Thread Ray Frush
All- I had to write the following SELinux type enforcement policy file ‘backuppc.te’ to allow the httpd daemon access to access the required files under /etc/BackupPC even after getting httpd setup to run as the ‘backuppc’ user. The alternative is to set SELinux to permissive, which is not r

Re: [BackupPC-users] Can't write config.pl files through CGI interface.

2019-02-21 Thread Adam Goryachev
On 22/2/19 8:36 am, Hubert SCHMITT wrote: 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 confi

Re: [BackupPC-users] Can't write config.pl files through CGI interface.

2019-02-21 Thread Bzzzz
On Thu, 21 Feb 2019 22:36:26 +0100 Hubert SCHMITT 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-

Re: [BackupPC-users] Can't write config.pl files through CGI interface.

2019-02-21 Thread Hubert SCHMITT
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 20

Re: [BackupPC-users] Can't write config.pl files through CGI interface.

2019-02-20 Thread Bzzzz
On Wed, 20 Feb 2019 22:22:48 +0100 Hubert SCHMITT 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