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

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

Re: [rdiff-backup-users] Error message with Extended Attributes


From: Ben Escoto
Subject: Re: [rdiff-backup-users] Error message with Extended Attributes
Date: Thu, 25 Aug 2005 00:30:33 -0500

>>>>> Paul Cuttriss <address@hidden>
>>>>> wrote the following on Wed, 24 Aug 2005 18:33:59 +0100
> 
> Basically rdiff-backup is reporting different EA abilities for the
> same filesystem..........I run a test from one local directory to
> another and this is what I get. This was first detected in a test
> from to a remote host. Seems to be the same on a local filesystem.
...
> -----------------------------------------------------------------
> Detected abilities for source (read only) file system:
>   Extended attributes                          On
...
> Detected abilities for destination (read/write) file system:
>   Extended attributes                          Off

rdiff-backup checks to see if it can read and write EAs on the
destination filesystem, but only tries to list one on the source.
Here is the relevant code:

        xattr.listxattr(rp.path)
        if write:
                xattr.setxattr(rp.path, "user.test", "test val")
                assert xattr.getxattr(rp.path, "user.test") == "test val"

So if you want to see what is going on you could try testing xattr's
listxattr, setxattr, and getxattr from the python interpreter.


-- 
Ben Escoto

Attachment: pgpxv5j8ZTqc0.pgp
Description: PGP signature


reply via email to

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