![](https://seccdn.libravatar.org/avatar/aaff612bb0750768db78818737bfbdb6.jpg?s=120&d=mm&r=g)
On Tue, 27 Oct 2015 14:01:45 +0100 "Carlos E. R." <robin.listas@telefonica.net> wrote:
On 2015-10-27 09:37, listreader wrote:
I am getting root-owned files written to a user directory. Why is this happening and how / where do I configure to get whatever is creating these to instead write to a root-owned space?
The files are:
~/.config/YaST2/y2controlcenter-qt.conf ~/.config/YaST2/YQOnlineUpdate.conf ~/.config/YaST2/YQPackageSelector.conf ~/.config/QtProject.conf
You are probably using YaST via "su". This means that files are written to your home instead of to "/root". To avoid this, use "su -", with a dash.
Another possibility is some variants or configs of sudo.
Hello Carlos. No, I always use 'su -' when su is needed, use sudo rarely, and most times I run yast from the gui... Ok! Running yast from the gui: System > Administration > YaST YaST Control Center opens click Online Update did nothing in Online Update, this is just a test closed Online Update ==> now I have a root-owned file ~/.config/YaST2/YQOnlineUpdate.conf close YaST Control Center ==> now I have a root-owned file ~/.config/YaST2/y2controlcenter-qt.conf So these files are coming from YaST Control Center. Where do I configure where it writes its' files to? Ralph My desktop is lxde (gtk) and the 13.2 os is: 3.16.7-24-desktop #1 SMP PREEMPT Mon Aug 3 14:37:06 UTC 2015 (ec183cc) x86_64 x86_64 x86_64 GNU/Linux -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org