[Bug 237954] /usr/bin/hexdump fails with capabilities error when used with -s option

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri May 17 19:01:40 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237954

            Bug ID: 237954
           Summary: /usr/bin/hexdump fails with capabilities error when
                    used with -s option
           Product: Base System
           Version: 12.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: ak at FreeBSD.org

Not sure if you're the right person, but you're the last who
touched hexdump -s option's logic, so it's worth a shot.

The hexdump on FreeBSD 12.0 fails with capabilities error when used with -s
option:
$hexdump -s 1 -n 1 -e '"%c""\n"' /etc/rc
hexdump: /etc/rc: Capabilities insufficient

It seems that it misses CAP_SEEK_TELL right.

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


More information about the freebsd-bugs mailing list