Fix your permissions


Removing: /opt/homebrew/Cellar/mysql/9.0.1... (319 files, 309.8MB)
Warning: Permission denied @ apply2files - /opt/homebrew/Cellar/mysql/9.0.1/bin/mysqlbinlog
==> This operation has freed approximately 309.8MB of disk space.
Error: Could not cleanup old kegs! Fix your permissions on:
  /opt/homebrew/Cellar/mysql/9.0.1

如果您发现某些文件的权限不正确,可以使用 chown 命令更改权限。例如,您可以将所有者更改为当前用户:

sudo chown -R $(whoami) /opt/homebrew/Cellar/mysql/9.0.1

sudo chown -R $(whoami) 这是一个技巧,积累一下


评论