I sometimes need to run a Qt Creator from root. After that, some config files of Qt Creator suddenly have a root as an owner. Therefore when running Qt Creator as user, I am getting nag warnings about impossibility of writing to those files. Is it possible to prohibit from changing owner of those files? 
How to prohibit from changing an owner of modifiable files?
filesystems;files;root;access control;chown
Problem was solved by using gdbserver run by root. sudo gdbserver :1234 <path_to_program>After that, I have connected to 127.0.0.1:1234 from QtCreator's menu and got debugging working. QtCreator was run from ordinary user. Thanks to all for the answering! 