
ListError when using sudo
This is on all files owned by root and having only owner r/w permissions (600)
--
Rudi Meyer
Forlaget Systime
On 29 September 2011 09:14, Stefaans Mostert
<stefaans.mostert < at > multichoice.co.za> wrote:
Is this on all files owned by root or just some?
Stefaans Mostert
Bytes Connect Back Office Engineer
Bytes Connect - Back Office
Tel: +27112895317 Mobile: +27844634590 Email:
stefaans.mostert < at > multichoice.co.za
Website:
www.multichoice.co.za
MultiChoice Africa (Pty) Ltd is an authorized financial services provider.
FSP license number 11514. THINK GREEN - CONSIDER THE ENVIRONMENT BEFORE
PRINTING THIS EMAIL.
________________________________
From: "Rudi Meyer" <rme < at > systime.dk>
To: rdiff-backup-users < at > nongnu.org
Sent: Wednesday, September 28, 2011 10:27:54 AM
Subject: [rdiff-backup-users] ListError when using sudo
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 /'
backup < at > 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 < at > nongnu.org
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL:
http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
________________________________
This electronic communication and the attached file(s) are subject to a
disclaimer which can be viewed at
http://www.multichoice.co.za/multichoice/view/multichoice/en/page21855. If
you are unable to view the disclaimer, please email
disclaimer < at > multichoice.co.za for a copy.
________________________________
_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL:
http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki