Hi there

I have a backup server setup to backup another server through an
unprivileged user. The unprivileged user is in the sudoers file and
kan sudo without password.

My rdiff-backup command:
/usr/bin/rdiff-backup --remote-schema 'ssh -C %s nice sudo
/usr/bin/rdiff-backup --server --restrict-read-only /'
bac...@host.domain.com::/ /data2/backup/host/

So how I see it is that I should be able to read all files, no matter
what permissions? However I get errors like this on files owned by
root with r/w on user only:

ListError /etc/exim4/passwd.client [Errno 13] Permission denied:
'/etc/exim4/passwd.client'

A test locally on the server I backup with the backup user and sudo
gives no trouble.

Ideas?

--
Rudi Meyer
Forlaget Systime

_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Reply via email to