kate crashes when run with the sudo command. It does not crash when run from the menu as normal user. Here is the message I got when I tried to run kate as sudo
sudo kate
Error: "/var/tmp/kdecache-chandra" is owned by uid 1000 instead of uid 0.
Creating link /root/.kde/cache-kubuntu.
Created link from "/root/.kde/cache-kubuntu" to "/var/tmp/kdecache-root"
kate: ERROR: Communication problem with kate, it probably crashed.
I tried the same command with kwrite and it did not crash.
sudo kwrite
Error: "/var/tmp/kdecache-chandra" is owned by uid 1000 instead of uid 0.
Link points to "/var/tmp/kdecache-root"
sudo kate
Error: "/var/tmp/kdecache-chandra" is owned by uid 1000 instead of uid 0.
Creating link /root/.kde/cache-kubuntu.
Created link from "/root/.kde/cache-kubuntu" to "/var/tmp/kdecache-root"
kate: ERROR: Communication problem with kate, it probably crashed.
I tried the same command with kwrite and it did not crash.
sudo kwrite
Error: "/var/tmp/kdecache-chandra" is owned by uid 1000 instead of uid 0.
Link points to "/var/tmp/kdecache-root"
Comment