mdo: setcred(): Operation not permitted

I have two physical machines with the exact same setup for mdo.

Code:
> id 
uid=1001(david) gid=1001(david) groups=0(wheel),5(operator),44(video),1001(david)

> groups
wheel operator video david

> sysctl security.mac.do 
security.mac.do.rules: uid=1001>uid=0,gid=0,gid=5,+gid=0,+gid=5
security.mac.do.print_parse_error: 1
security.mac.do.enabled: 1

> kldstat 
Id Refs Address                Size Name
 1   83 0xffffffff80200000  1f4dad0 kernel
 2    1 0xffffffff8214f000     88c8 mac_do.ko
 3    1 0xffffffff82158000   620c10 zfs.ko

> uname                                                                                                                                                                                                             
15.0-RELEASE-p8

While one machine works on the other I get:

Code:
> mdo ls        
mdo: setcred(): Operation not permitted

What have I missed?
 
Back
Top