Cannot overwrite file /home/baadshah/.config/QtProject/qtcreator/toolchains.xml: Permission denied

前端之家收集整理的这篇文章主要介绍了Cannot overwrite file /home/baadshah/.config/QtProject/qtcreator/toolchains.xml: Permission denied前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

在Ubuntu 12.04 刚装上了个qt5.1.1 在普通用户上运行时弹出几个对话框,关闭qt时也会弹出来,具体的忘了截图,有以下几个


Cannot overwrite file /home/baadshah/.config/QtProject/qtcreator/qtversion.xml: Permission denied

Cannot overwrite file /home/baadshah/.config/QtProject/qtcreator/toolchains.xml: Permission denied

Cannot overwrite file /home/baadshah/.config/QtProject/qtcreator/devices.xml:Permission denied

Cannot overwrite file /home/baadshah/.config/QtProject/qtcreator/toolchains.xml: Permission denied


解决办法是献给你的用户添加权限,下进入年装得目录,我这里是默认安装在/opt里

root@yuan-pc:/opt# chown -hR $USER:$USER Qt5.1.1


然后再执行

sudo -s chmod o+w /home/xxx/.config/QtProject/qtcreator/*.xml

我这样改了之后就可以用了,再也不弹出错误对话框来了。


参考:http://askubuntu.com/questions/253785/cannot-overwrite-file-home-baadshah-config-qtproject-qtcreator-toolchains-xml

原文链接:https://www.f2er.com/xml/299760.html

猜你在找的XML相关文章