Permissions problems after running Qt Creator with priviliges on Linux(ubuntu)

来源:互联网 发布:入室盗窃案件数据 编辑:程序博客网 时间:2024/06/15 10:18

单单使用chmod是不成的,至少我这里没成功。使用chmod,chown和chgrp组合成功了。


1.cd ~/.config/
2.sudo -s
3.chmod -hR ugo+rwx Nokia (it will add read, write and execute premission to everyone)
4.chown-hR root:[your username] Nokia (example: chown root:tom Nokia)
5.chgrp-hR [your groupname] Nokia (example: chgrp tom Nokia)

Note: by default you can write your group-name as your user-name.