I've searched multiple sites and everything I've tried just isn't working.

I'm using rsyncd

The systems I'm testing are both Fedora 39, one server and one laptop.

I'm using the BackupPC on the server:
BackupPC-XS-0.62-13.fc39.x86_64
BackupPC-4.4.0-10.fc39.x86_64

I named the backup user "backuppc" which has passwordless ssh login on both
the server and laptop client.

the sudoers file has the following entry:

# setup for backuppc to run rsync
backuppc ALL= NOPASSWD:/usr/bin/rsync

The rsyncd.conf and rsyncd.secrets files are setup correctly as far as I
can tell since both the "/usr/local" and "/etc" directories are backed up
with no problems (that I worry about :)

I'm backing up 4 directories, /etc, /usr/local, /home/john, and
/home/backuppc

No matter what I've tried so far, even though the "/etc" and "/user/local"
directories are successfully backed up, everytime backuppc tries to backup
either user directory in the /home directory I get the following error:

  rsync: [sender] change_dir "/" (in backuppc) failed: Permission denied
(13)

On the client system I can sudo to the backuppc user and, as a test I ran
"sudo rsync /home/john/testfile.txt /home/backuppc/" and it succeeds with
no errors. The file was copied to the backuppc home directory.

But it always fails when being run from the BackupPC server with the
"Permission denied (13)" error.

I'm stumped and any help would be appreciated.

Regards,

John C.
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/

Reply via email to