rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[rdiff-backup-users] permission denied error when making backups


From: weloki
Subject: [rdiff-backup-users] permission denied error when making backups
Date: Mon, 5 Mar 2012 15:00:33 -0800 (PST)

On my server that I want backed up, I do not want to SSH into it as root, so
I've set up a special user that has an entry in /etc/sudoers to run *only*
the rdiff-backup command on the host with superuser privileges:

Cmnd_Alias     RDIFFBACKUP = /usr/bin/rdiff-backup
rdiff-backup    ALL = NOPASSWD: RDIFFBACKUP

...everything else about the user is normal. Now for any file that does not
have the chmod o+r (readable by "other") attribute I get this error when
trying to back it up:

ListError filename [Errno 13] Permission denied: '/path/to/filename'

The file permissions could look only like -------r-- and that would work, in
any other way, without the "r" for "other" I get the error. When I perform
backups logging in as root, backups are made fine. 
-- 
View this message in context: 
http://old.nabble.com/permission-denied-error-when-making-backups-tp33447119p33447119.html
Sent from the rdiff-backup-users mailing list archive at Nabble.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]