====== ConnectX software maybe overwrites FreeBSD system directories' owner. ====== Continuation from "[[blog:2019:2019-05-28|system directories owner changes to unknown UID 6151]]" problem. I listed system directories up which was owned by non-root user with a below command. # find / -type d ! -uid 0 ! -path "*/home/*" ! -path "*/zdata/*" ! -path "*/zbackup/*" -print0 | xargs -0 stat -f "%u %g %N" | tee ~/non_root_owner_dirs.txt And then, these directories' onwer UID got to '6151.' 6151 0 /etc 6151 0 /etc/mft 6151 0 /etc/mft/fwtrace_cfg 6151 0 /usr 6151 0 /usr/bin 6151 0 /usr/include 6151 0 /usr/lib 6151 0 /usr/lib/bash_libs 6151 0 /usr/lib/mft 6151 0 /usr/lib/mft/mtcr_plugins 6151 0 /usr/lib/mft/python_tools 6151 0 /usr/lib/mft/python_tools/mlxmcg 6151 0 /usr/lib/mft/python_tools/mst 6151 0 /usr/lib/mft/python_tools/mstdump 6151 0 /usr/lib/mft/tcl 6151 0 /usr/lib/mft/tcl/bin 6151 0 /usr/lib/mft/tcl/lib 6151 0 /usr/lib/mft/tcl/lib/tcl8.4 6151 0 /usr/share 6151 0 /usr/share/man 6151 0 /usr/share/man/man1 6151 0 /usr/share/mft 6151 0 /usr/share/mft/mlxconfig_dbs 6151 0 /usr/share/mft/mstdump_dbs I checked some of them and found a few files' UIDs were also modified to 6151. Additionally most of their mdate were 2018/11/23. I think [[zfs:freebsd_11.2r_40gbe_with_connectx-3_pro_en|Mellanox's ConnectX-3 utility software install]] might modify these files, I guessed from the files and mdate. Come on, Mellanox. Fortunately, there are no storange files other than owner 6151, so I managed to change their owner to 'root' by below command though I'm not sure their original owener was root or not. # find / -uid 6151 ! -path "*/home/*" ! -path "*/zdata/*" ! -path "*/zbackup/*" -print0 | xargs -0 chown root