bugrdiff-backup - Bugs: bug #32597, rdiff-backup tries to read/list...


bug #32597: rdiff-backup tries to read/list directories, no matter --exclude rules.

Submitter:  Andreas Olsson <andol>
Submitted:  Fri 25 Feb 2011 06:40:01 PM UTC
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Duplicate
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:


Wed 05 Feb 2020 07:45:38 PM UTC, comment #2: 
Eric L. <ericzolf>
Project Administrator
Fri 12 Feb 2016 09:42:34 PM UTC, comment #1: 

Bug appears confirmed by a few people. Patches welcome to

david kempe <davekempe>
Project Administrator
Fri 25 Feb 2011 06:40:01 PM UTC, original submission:  

When performing a backup it appears if rdiff-backup tries to read/list a directory even if it is set to be excluded from the backup.

andreas@stilgar:~/temp$ rdiff-backup --version
rdiff-backup 1.2.8
andreas@stilgar:~/temp$ mkdir -p from/alpha/beta/gamma
andreas@stilgar:~/temp$ sudo chown root:root from/alpha/beta/gamma/
andreas@stilgar:~/temp$ sudo chmod 700 from/alpha/beta/gamma/
andreas@stilgar:~/temp$ mkdir to
andreas@stilgar:~/temp$ rdiff-backup --exclude '**/alpha' from/ to/
ListError alpha/beta/gamma [Errno 13] Permission denied: 'from/alpha/beta/gamma'

andreas@stilgar:~/temp$ rm -rf to/*
andreas@stilgar:~/temp$ strace rdiff-backup --exclude '**/alpha' from/ to/ 2>&1 | grep gamma
lstat("from/alpha/beta/gamma", {st_mode=S_IFDIR|0700, st_size=40, ...}) = 0
open("from/alpha/beta/gamma", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 EACCES (Permission denied)
write(2, "ListError alpha/beta/gamma [Errn"..., 81ListError alpha/beta/gamma [Errno 13] Permission denied: 'from/alpha/beta/gamma'

See also:

Andreas Olsson <andol>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by ericzolf (Posted a comment)
  • -email is unavailable- added by davekempe (Posted a comment)
  • -email is unavailable- added by andol (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.





    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-02-05 ericzolf StatusPostponed Duplicate
        Open/ClosedOpen Closed
    2016-02-12 davekempe StatusNone Postponed

    Back to the top

    Powered by Savane 3.9