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
Priority:  5 - Normal Item Group:  None
Status:  Duplicate Privacy:  Public
Assigned to:  None Open/Closed:  Closed
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

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

Bug appears confirmed by a few people. Patches welcome to
https://github.co ... sol1/rdiff-backup

david kempe <davekempe>
Group 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'
andreas@stilgar:~/temp$

See also:
http://bugs.debia ... rt.cgi?bug=508063
https://bugs.laun ... ackup/+bug/725083

Andreas Olsson <andol>

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

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)
  •  

    Votes

    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.

     

    History

    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.16-ed84.
    Corresponding source code