复制权限被拒绝

复制权限被拒绝

尽管以 root 身份进入 Dolphin,但我无法复制到外部设备。权限被拒绝,并且不会更改。我也在 Synaptic 中进行了升级。我在 root 中收到此消息,如果有人能告诉我,我将不胜感激。

john@DNUK:~$ sudo dolphin
[sudo] password for john: 
Error: "/var/tmp/kdecache-john" is owned by uid 1000 instead of uid 0.
Error: "/tmp/kde-john" is owned by uid 1000 instead of uid 0.
Error: "/tmp/ksocket-john" is owned by uid 1000 instead of uid 0.
kdeinit4: Shutting down running client.
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Error: "/tmp/ksocket-john" is owned by uid 1000 instead of uid 0.
Error: "/tmp/kde-john" is owned by uid 1000 instead of uid 0.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Error: "/var/tmp/kdecache-john" is owned by uid 1000 instead of uid 0.
kbuildsycoca4 running...
Error: "/var/tmp/kdecache-john" is owned by uid 1000 instead of uid 0.
Error: "/var/tmp/kdecache-john" is owned by uid 1000 instead of uid 0.
Error: "/tmp/ksocket-john" is owned by uid 1000 instead of uid 0.
Error: "/tmp/kde-john" is owned by uid 1000 instead of uid 0.
QPixmap::scaled: Pixmap is a null pixmap
Error: "/tmp/ksocket-john" is owned by uid 1000 instead of uid 0.
Error: "/tmp/ksocket-john" is owned by uid 1000 instead of uid 0.

约翰·瓦特·奥姆斯基克

答案1

似乎也有类似的问题这里。他们建议的两种解决方案是:

  1. 更改文件所有者
  2. 使用 gksu / gksudo 以 root 身份运行图形应用程序,或者在 Kubuntu 中使用 kdesu(而不是 sudo)

额外的:为什么不应该使用 sudo 运行 GUI 应用程序

相关内容