터미널 오류 출력 RE: Xbuntu에서 .conf 파일 편집

터미널 오류 출력 RE: Xbuntu에서 .conf 파일 편집

실행 중 터미널 오류 출력이 궁금합니다 sudo Kate. 를 사용하여 메모장을 열도록 안내하는 포럼을 읽었습니다 gksudo. 이것이 설치되지 않았다는 것을 깨닫고 그냥 메모장 편집기를 열고 파일을 sudo편집하려고 했습니다 .conf. 즉, .conf루트 액세스 오류 없이 새 파일을 저장했다는 뜻입니다."알 수 없는 오류 줄"). sudoRaspberry PI를 사용하여 텍스트 파일을 열고 편집하는 데 문제가 없습니다 nano.

오류 줄의 원인은 무엇이며 쉽게 답할 수 있는 경우 어떻게 수정합니까?

skratch@Slick:~$ sudo kate
[sudo] password for skratch: 
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Error: "/var/tmp/kdecache-skratch" is owned by uid 1000 instead of uid 0.
Error: "/tmp/kde-skratch" is owned by uid 1000 instead of uid 0.
Error: "/tmp/ksocket-skratch" is owned by uid 1000 instead of uid 0.
Error: "/tmp/kde-skratch" 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-skratch" is owned by uid 1000 instead of uid 0.
Error: "/tmp/kde-skratch" 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-skratch" is owned by uid 1000 instead of uid 0.
kbuildsycoca4 running...
Error: "/var/tmp/kdecache-skratch" is owned by uid 1000 instead of uid 0.
Error: "/var/tmp/kdecache-skratch" 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-skratch" is owned by uid 1000 instead of uid 0.
Bus::open: Can not get ibus-daemon's address. 
IBusInputContext::createInputContext: no connection to ibus-daemon 
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-skratch" is owned by uid 1000 instead of uid 0.
QObject::connect: Cannot connect (null)::resourceScoreUpdated(QString, QString, QString, double) to NepomukPlugin::resourceScoreUpdated(QString, QString, QString, double)
QObject::connect: Cannot connect (null)::recentStatsDeleted(QString, int, QString) to NepomukPlugin::deleteRecentStats(QString, int, QString)
QObject::connect: Cannot connect (null)::earlierStatsDeleted(QString, int) to NepomukPlugin::deleteEarlierStats(QString, int)
QDBusConnection: name 'org.kde.kglobalaccel' had owner '' but we thought it was ':1.8'
Error: "/tmp/kde-skratch" is owned by uid 1000 instead of uid 0.

답변1

Uid 1000은 당신입니다. Uid 0은 루트입니다. . ls -l /var/tmp​귀하가 소유한 폴더도 있고, 루트가 소유한 폴더도 있습니다. 파일의 소유자가 아니고 권한이 drwx------이면 파일을 열 수 없습니다. 루트 권한으로 kate를 호출했을 때 kate는 귀하가 소유한 폴더에 액세스해야 했지만 프로그램은 루트의 관점에서 실행되었습니다. 따라서 오류

관련 정보