acl-devel
[Top][All Lists]
Advanced

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

Re: [Acl-devel] acl_from_text() not always setting errno


From: Rob Browning
Subject: Re: [Acl-devel] acl_from_text() not always setting errno
Date: Sun, 13 Oct 2013 21:04:45 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Andreas Grünbacher <address@hidden> writes:

> You don't happen to know which string triggers the problem, do you?

Not yet, but I may be able to find out.

>> I wondered if that was intentional, or a bug.
>
> A bug. I don't immediately see it though.

Well, I might be mistaken -- all we know for sure is that Anton saw a
call to pylibacl's "posix1e.ACL(text=x)" result in an IOError exception
with a 0 errno:

      File "/usr/lib/bup/bup/metadata.py", line 706, in read
        result._load_posix1e_acl_rec(port)
      File "/usr/lib/bup/bup/metadata.py", line 511, in
_load_posix1e_acl_rec
        self.posix1e_acl = [posix1e.ACL(text=x) for x in acl_reps]
    IOError: [Errno 0] Error

Thanks for the help
-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4



reply via email to

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