[Bug 285889] getextattr(1) Aborts prematurely if an attribute isn't found in one of a list of files

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 04 Apr 2025 21:22:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285889

            Bug ID: 285889
           Summary: getextattr(1) Aborts prematurely if an attribute isn't
                    found in one of a list of files
           Product: Base System
           Version: 15.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: jamie@catflap.org

Running (e.g.) the following:

getextattr user test data/file1 data/file2 data/file3 ...

If a file doesn't have the attribute, the error is produced:

getextattr: data/file1: failed: Attribute not found

And the program exits there, without parsing file2 or file3 ...

I'd expect the program to continue checking all files before exiting.

-- 
You are receiving this mail because:
You are the assignee for the bug.