permission denied, access '/usr/
2021-05-25 本文已影响0人
McDu
- 查看该文件权限
ls -la /usr/local/lib/node_modules
drwxr-xr-x 3 root wheel 102 Jun 24 23:24 node_modules
-
id -un
或whoami
确定当前用户 -
sudo chown -R ownerName: /usr/local/lib/node_modules
修改文件权限