Error: The following directories are not writable by your user:
/usr/local/sbin
You should change the ownership of these directories to your user.
您应该将这些目录的所有权更改为您的用户。 sudo chown -R $(whoami) /usr/local/sbin And make sure that your user has write permission.
并确保您的用户具有写权限。 chmod u+w /usr/local/sbin