[Top][All Lists]

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

[Rdiff-backup-bugs] [bug #32597] rdiff-backup tries to read/list directo

From: Andreas Olsson
Subject: [Rdiff-backup-bugs] [bug #32597] rdiff-backup tries to read/list directories, no matter --exclude rules.
Date: Fri, 25 Feb 2011 18:40:03 +0000
User-agent: Opera/9.80 (X11; Linux x86_64; U; sv) Presto/2.7.62 Version/11.01


                 Summary: rdiff-backup tries to read/list directories, no
matter --exclude rules.
                 Project: rdiff-backup
            Submitted by: andol
            Submitted on: fre 25 feb 2011 18.40.01
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any



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.

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

address@hidden:~/temp$ rm -rf to/*
address@hidden:~/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:


Reply to this item at:


  Meddelandet skickades via/av Savannah

reply via email to

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