Announcement

Collapse
No announcement yet.

'owned by uid 1000 instead of uid 0.' What does it mean? (Resolved)

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    'owned by uid 1000 instead of uid 0.' What does it mean? (Resolved)

    I'm sorting out a Kdesudo-password issue and I went to edit 'mtab' and got the following output:


    Error: "/var/tmp/kdecache-rupa" is owned by uid 1000 instead of uid 0.
    Error: "/tmp/kde-rupa" is owned by uid 1000 instead of uid 0.
    kate(2191)/kdecore (services) KMimeTypeFactory:arseMagic: Now parsing "/usr/share/mime/magic"
    kate(2191)/kdecore (services) KMimeTypeFactory:arseMagic: Now parsing "/home/rupa/.local/share/mime/magic"
    Error: "/tmp/ksocket-rupa" is owned by uid 1000 instead of uid 0.
    QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
    QFileSystemWatcher: failed to add paths: /home/rupa/.config/ibus/bus
    Bus:pen: Can not get ibus-daemon's address.
    IBusInputContext::createInputContext: no connection to ibus-daemon
    rupa@pollypig:~$ rupa@pollypig:~$ sudo kate /etc/mtab
    rupa@pollypig:~$: command not found
    rupa@pollypig:~$ [sudo] password for rupa:
    [sudo]: command not found
    rupa@pollypig:~$ Error: "/var/tmp/kdecache-rupa" is owned by uid 1000 instead of uid 0.
    Error:: command not found
    rupa@pollypig:~$ Error: "/tmp/kde-rupa" is owned by uid 1000 instead of uid 0.
    Error:: command not found
    rupa@pollypig:~$ kate(2191)/kdecore (services) KMimeTypeFactory:arseMagic: Now parsing "/usr/share/mime/magic"
    bash: syntax error near unexpected token `2191'
    rupa@pollypig:~$ kate(2191)/kdecore (services) KMimeTypeFactory:arseMagic: Now parsing "/home/rupa/.local/share/mime/magic"
    bash: syntax error near unexpected token `2191'
    rupa@pollypig:~$ Error: "/tmp/ksocket-rupa" is owned by uid 1000 instead of uid 0.
    Error:: command not found
    rupa@pollypig:~$ QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
    QInotifyFileSystemWatcherEngine::addPaths:: command not found
    rupa@pollypig:~$ QFileSystemWatcher: failed to add paths: /home/rupa/.config/ibus/bus
    QFileSystemWatcher:: command not found
    rupa@pollypig:~$ Bus:pen: Can not get ibus-daemon's address.
    > IBusInputContext::createInputContext: no connection to ibus-daemon

    None of this means anything to me but I wonder why I have an apparent 'ownership' problem i.e. 'owned by uid 1000 instead of uid 0'

    Is this an issue can anyone tell me

    Thanks
    Celeron CPU G1610@2.60GHz x 2
    GeForce 8400 GS/PCle/SSE2
    Kubuntu 14.04 - 64 bit Linux - KDE 4.13.0

    #2
    Re: 'owned by uid 1000 instead of uid 0.' What does it mean?

    rupa@pollypig:~$ rupa@pollypig:~$ sudo kate /etc/mtab

    NEVER start a gui program (like kate) with sudo. ALWAYS use kdesudo.

    Comment


      #3
      Re: 'owned by uid 1000 instead of uid 0.' What does it mean?

      Arh right but what actually is the difference?
      Celeron CPU G1610@2.60GHz x 2
      GeForce 8400 GS/PCle/SSE2
      Kubuntu 14.04 - 64 bit Linux - KDE 4.13.0

      Comment


        #4
        Re: 'owned by uid 1000 instead of uid 0.' What does it mean?

        RootSudo#Usage
        Windows no longer obstructs my view.
        Using Kubuntu Linux since March 23, 2007.
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment


          #5
          Re: 'owned by uid 1000 instead of uid 0.' What does it mean?

          Originally posted by leadwt
          Arh right but what actually is the difference?
          The difference is if you do what your not supposed to, you get those error messages! :P

          The security and stability of linux is directly linked to file permissions and the permission structure of executables.

          When you launch a GUI program as super user without the GUI interface (aka sudo instead of kdesudo) you threaten the security and stability of your install - hence the error messages.

          At the very least, you'll likely end up making some GUI programs un-executable because you changed the permissions of data stored in your /home. At worst, you might render your system totally unusable.

          Here's a simple test. Open a terminal window and type:

          ls -la ~/ | grep root

          if you get any output other than

          drwxr-xr-x 8 root root 224 07.06.2010 09:56 ../

          you've done some harm (most likely very slight).

          Please Read Me

          Comment


            #6
            Re: 'owned by uid 1000 instead of uid 0.' What does it mean?

            oshunluvr - Pleased to say I got nothing more than what I should have!

            Snowhog - Thanks for the link

            A lesson learned, regretfully I got the original instruction from a post on the Ubuntu Forum.
            I shall go and set that to rights.

            Thanks.

            Celeron CPU G1610@2.60GHz x 2
            GeForce 8400 GS/PCle/SSE2
            Kubuntu 14.04 - 64 bit Linux - KDE 4.13.0

            Comment

            Working...
            X