sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}
现在我在尝试sudo -i时出错了。sudo: /usr/bin/sudomust be owned by uid0 and have the setuid
输入sudo chmod -R 777 /是为了重新访问以前可访问的目录,但这导致SSH连接被关闭,现在无法重新连接。“登录失败”显示错误。Pi仍然可以直接访问。sudo的任何使用都会返回sudo: /usr/bin/sudomust be owned by uid0 and have the setuidbit <e
我不认为root是/usr/bin/sudo目录的所有者,我无法使用sudo执行任何命令。我试图找到一个解决方案,但解决方案,我看到了Ubuntu的具体。有谁能给我提供一些步骤来修复Fedora。错误:
sudo: /usr/bin/sudomust be owned by uid0 and have