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

 
 

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

Submitted by:  Andreas Olsson <andol>
Submitted on:  Fri 25 Feb 2011 06:40:01 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Postponed
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 12 Feb 2016 09:42:34 PM UTC, comment #1:

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

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

See also:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=508063
https://bugs.launchpad.net/debian/+source/rdiff-backup/+bug/725083

Andreas Olsson <andol>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 12 Feb 2016 09:42:34 PM UTCdavekempeStatusNone=>Postponed

    Back to the top


    Powered by Savane 3.1-cleanup1