add workaround for freebsd
drwxr-xr-x - openwrt