Page 1 of 6 123 ... LastLast
Results 1 to 10 of 52

Thread: Subdirs are created under the name of another user!

  1. #1

    Question Subdirs are created under the name of another user!

    Hi there,

    I recently installed Scala, Eclipse and the Scala Eclipse IDE on my computer and got problems with the ownership and access rights on subdirs.
    So I un- and re- installed those software packages involved several times, but always ended up with trouble.

    Now I found out that several subdirs which I had created as user "Joe" have an Ownership (displayed in Dolphin) of "Obelix" . Obelix is my Gateway PC, but has no account on my PC. Actually there are only 2 users registered on my PC: "Joe" & "notes" , there is also no group "Obelix" on my computer.

    As SU I tried to change the ownership from Obelix to Joe ... nada, the change seemed to be accepted by the system, but when I re-open the Properties window in Dolphin again ... obelix is back as owner.

    When I boot the system a window opens:

    Run as obelix - KDE su
    The action you requested needs additional privileges. Please enter the password for obelix below or click Ignore to continue with your current privileges.
    Command /usr/bin/kmix -session 1010ad5117c200014393205690000001608
    No idea where this comes from and yes there is a good chance that I have once entered my SU password in this dialog, as it looks like the standard SU pasword dialog .

    Any ideas what' s going wrong there ? Is it a virus or similar ? Or has the system hiccups ?


    TIA, Joe

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,998

    Default Re: Subdirs are created under the name of another user!

    Your story is a bit confusing. As you tell it there is no user Obelix defined on the system, but files are nevertheless owned by user Obelix. This is contradictory.

    So please post the facts, like
    Code:
    ls -ls
    of the directory those files are in.

    And
    Code:
    cat /etc/passwd
    to see what users are defined in your system.
    Henk van Velden

  3. #3

    Default Re: Subdirs are created under the name of another user!

    Hi , thanks for your response !

    Well it is confusing indeed, but this is how it shows up in Dolphin and KDE.

    Your suggestion brought a bit more light into that matter:
    I used the command line ls -ls and ... surprise the subdirs in question are all displayed with Joe as owner as it should be.
    But when I open Dolphin ... there it is still Obelix !!! Looks like a problem between GUI and the OS.

    So it must be a KDE or Dolphin problem I assume.

    Any ideas ?

    TIA, Joe


    cat /etc/passwd create a long list, but no entry for Obelix !

    Code:
    at:x:25:25:Batch jobs daemon:/var/spool/atjobs:/bin/bash
    avahi:x:494:492:User for Avahi:/var/run/avahi-daemon:/bin/false
    avahi-autoipd:x:484:477:User for Avahi IPv4LL:/var/lib/avahi-autoipd:/bin/false
    bin:x:1:1:bin:/bin:/bin/bash
    colord:x:482:475:user for colord:/var/lib/colord:/sbin/nologin
    daemon:x:2:2:Daemon:/sbin:/bin/bash
    dnsmasq:x:495:65534:dnsmasq:/var/lib/empty:/bin/false
    ftp:x:40:49:FTP account:/srv/ftp:/bin/bash
    ftpsecure:x:480:65534:Secure FTP User:/var/lib/empty:/bin/false
    games:x:12:100:Games account:/var/games:/bin/bash
    gdm:x:486:480:Gnome Display Manager daemon:/var/lib/gdm:/bin/false
    kdm:x:489:487:KDM Display Manager daemon:/var/lib/kdm:/bin/false
    lp:x:4:7:Printing daemon:/var/spool/lpd:/bin/bash
    mail:x:8:12:Mailer daemon:/var/spool/clientmqueue:/bin/false
    man:x:13:62:Manual pages viewer:/var/cache/man:/bin/bash
    messagebus:x:498:496:User for D-Bus:/var/run/dbus:/bin/false
    mysql:x:60:499:MySQL database admin:/var/lib/mysql:/bin/false
    news:x:9:13:News system:/etc/news:/bin/bash
    nobody:x:65534:65533:nobody:/var/lib/nobody:/bin/bash
    nscd:x:485:478:User for nscd:/var/run/nscd:/sbin/nologin
    ntp:x:74:498:NTP daemon:/var/lib/ntp:/bin/false
    polkitd:x:492:491:User for polkitd:/var/lib/polkit:/sbin/nologin
    postfix:x:51:51:Postfix Daemon:/var/spool/postfix:/bin/false
    pulse:x:490:489:PulseAudio daemon:/var/lib/pulseaudio:/sbin/nologin
    radvd:x:488:2:Router ADVertisement Daemon for:/var/lib/empty:/bin/false
    root:x:0:0:root:/root:/bin/bash
    rtkit:x:491:490:RealtimeKit:/proc:/bin/false
    scard:x:487:481:Smart Card Reader:/var/run/pcscd:/usr/sbin/nologin
    srvGeoClue:x:481:65534:User for GeoClue D-Bus service:/var/lib/srvGeoClue:/sbin/nologin
    sshd:x:497:494:SSH daemon:/var/lib/sshd:/bin/false
    statd:x:493:65534:NFS statd daemon:/var/lib/nfs:/sbin/nologin
    svn:x:483:476:user for Apache Subversion svnserve:/srv/svn:/sbin/nologin
    tftp:x:496:493:TFTP account:/srv/tftpboot:/bin/false
    usbmux:x:499:65534:usbmuxd daemon:/var/lib/usbmuxd:/sbin/nologin
    uucp:x:10:14:Unix-to-Unix CoPy system:/etc/uucp:/bin/bash
    vscan:x:65:483:Vscan account:/var/spool/amavis:/bin/false
    wwwrun:x:30:8:WWW daemon apache:/var/lib/wwwrun:/bin/false
    joe:x:1000:100:Joe Herrmann:/home/joe:/bin/bash
    notes:x:1001:1000:notes:/home/notes:/bin/bash

  4. #4
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Subdirs are created under the name of another user!

    On 2015-08-12 13:06, J0EE0J wrote:

    > Your suggestion brought a bit more light into that matter:
    > I used the command line -ls -ls- and ... surprise the subdirs in
    > question are all displayed with Joe as owner as it should be.


    What are those subdirs?

    --
    Cheers / Saludos,

    Carlos E. R.

    (from 13.1 x86_64 "Bottle" (Minas Tirith))

  5. #5
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,998

    Default Re: Subdirs are created under the name of another user!

    First, please when you are showing what a command gives, copy/paste that complete; the prompt, the command, the output, the next prompt. Do not say:
    cat /etc/passwd creates.....
    Code:
    ......
    but show
    Code:
    henk@boven:~> cat /etc/passwd
    at:x:25:25:Batch jobs daemon:/var/spool/atjobs:/bin/bash
    .....
    henk@boven:~>
    Then we have it all without explanation needed.

    Also, please always do what the people that try to help you ask or at least explain why you do not do it. I this case: where is the ls -l listing I asked for?

    Most probably the people here will not believe what you say (because you are human and thus prone to drawing the wrong conclusions), but only what you show that the computer "says".

    As you passwd list shows, there is indeed no user Obelix (what you assumed), there is even no user Joe. But there is a user joe. Please be precise and exact: do not type Joe when you mean joe!

    When you say you see something strange in Dolphin, you must try to let us see the same thing. Thus make a screen shot and upload it to http://paste.opensuse.org/

    We realy can not offer solutions for badly defined problems.
    Henk van Velden

  6. #6

    Default Re: Subdirs are created under the name of another user!

    hcvv,

    here, as requested , the more formal version:

    Konsole listing 1, made before I opened Dolphin:

    Code:
    joe@Hasty:/home/data1> ls -ls
    total 2436848
          8 -rw-r--r--   1 joe  users       4277 Mar 17  2014 Anji Recepies
          4 drwxr-xr-x   2 joe  users       4096 Dec 20  2013 avast
          4 drwxr-xr-x  15 joe  users       4096 Dec  6  2014 Backup
        156 -rw-r--r--   1 joe  users     156151 Feb 20 12:08 Canon LBP7210 -01.jpg
          4 -rw-r--r--   1 joe  users       1686 Jan 12  2014 Chlidrens Paintings - Underground.html
          4 drwxr-xr-x   2 joe  users       4096 Dec  6  2014 CyanogenMod
       1100 -rw-r--r--   1 joe  users    1122329 Oct 11  2012 Daktari-de.pdf
        644 -rw-r--r--   1 joe  users     658680 Oct 11  2012 Daktari-en.pdf
     809784 -rw-r--r--   1 joe  users  829213024 Oct  7  2013 DOMINO_DESI_ADM_9.0_32B_WIN_EN.exe
          4 drwxr-xr-x   7 joe  users       4096 Aug 11 14:53 Download
       2288 -rwxrwxrwx   1 joe  users    2341585 Feb 13 17:28 DSC03188.JPG Anjali
       1852 -rwxrwxrwx   1 joe  users    1895235 Sep  2  2013 DSCN1449.JPG
          4 drwxrwxr-x   7 joe  users       4096 Aug 11 20:52 Eclipse Workspace
          4 drwxrwxr-x   4 root users       4096 Nov 15  2013 E-Finance Java
       1676 -rw-rw-r--   1 root root     1713636 Feb 12 09:20 firewall
          4 drwxr-xr-x   2 joe  users       4096 Feb 10  2015 Firewall
       7056 -rw-r--r--   1 joe  users    7222647 Feb  6  2015 flash-plugin-11.2.202.442-release.x86_64.rpm
          4 drwxr-xr-x   2 joe  users       4096 Jun  2  2014 Graphics
      20464 -rw-------   1 joe  users   20951136 Oct 25  2013 hplip-3.13.10.tar.gz
          4 drwxr-xr-x   4 joe  users       4096 Aug 11 21:43 Install
          4 -rw-r--r--   1 joe  users       2402 Dec 18  2013 Ips of free dns servers
          4 drwxr-xr-x   8 root root        4096 Jul 27 17:41 kojo
        172 -rw-rw-rw-   1 joe  users     173838 Feb  5  2014 Lebenslauf.pdf
          4 drwxr-xr-x   2 joe  users       4096 Feb 25 21:55 Lexmark
          4 -rwxrwxrwx   1 joe  users       1742 Mar 25  2014 License.avastlic
      62456 -rw-r--r--   1 joe  users   63947735 Jan  5  2015 Linux_CAPT_PrinterDriver_V260_uk_EN.tar.gz
         16 drwxrwxr-x+  2 root root       16384 Oct 12  2013 lost+found
         20 drwxr-xr-x  15 joe  users      20480 May 13 11:51 Notes
     488840 -rw-r--r--   1 joe  users  500572160 Dec 20  2013 NOTES_9.0.1_LINUX_RPM_EN.tar
          4 drwxr-xr-x  28 joe  users       4096 Jul 26 15:11 NotesDATA
          4 drwxr-xr-x  19 joe  users       4096 May 25  2014 Office12
       2924 -rw-r--r--   1 joe  users    2992465 Dec 19  2014 Playlist.xspf
        380 -rw-rw-rw-   1 joe  users     385360 Feb  5  2014 Publikationsverzeichnis.pdf
          4 drwxr-xr-x   3 joe  users       4096 Aug 11 20:56 runtime-New_configuration
          4 drwxrwxr-x   3 joe  users       4096 Aug 10 18:24 Scala
          4 drwxrwxr-x   2 joe  users       4096 Aug 11 22:12 Scala Workspace
          4 drwxr-xr-x   3 joe  users       4096 Aug 11 17:30 shared
       1312 -rw-r--r--   1 joe  users    1341656 Jan 27  2014 Snowden_exklusiv_-_Snowden_exklusiv_Das_Interview_-_ARD_Das_.f4f
          4 drwxr-xr-x   7 joe  users       4096 Jun  1 19:46 SweetHome3D-4.6
          4 drwxr-xr-x   7 joe  users       4096 Feb 27  2014 teamviewer9
      21908 -rw-rw-rw-   1 joe  users   22430102 Feb 27  2014 teamviewer_linux.tar.gz
          4 drwxr-xr-x   2 joe  users       4096 Jan  5  2015 Torrent Download
          4 drwxr-xr-x   3 joe  users       4096 Mar  5  2014 Tox
    1004548 -rw-r--r--   1 joe  users 1028653056 Oct  5  2014 ubuntu-14.04.1-desktop-amd64.iso
        424 -rw-r--r--   1 joe  users     431718 Apr 30  2014 UNIFO Foundation-First contact.pdf
         92 -rw-r--r--   1 joe  users      93003 Oct 27  2014 UnifoGate.fwb
          4 drwxr-xr-x   6 joe  users       4096 Mar 27 08:47 Virtualbox
       8068 -rw-r--r--   1 joe  users    8258048 Oct 22  2013 wr1042nv1_en_3_15_7_up_boot(130923).bin
    joe@Hasty:/home/data1>
    Dolphin snapshot here : http://paste.opensuse.org/59794989

    Konsole listing 2, taken after the screenshot in Dolphin by opening a new Konsole using the Konsole icon on the KDE Desktop :

    Code:
    obelix@Hasty:/home/data1> ls -ls
    total 2436840
         72 -rw-r--r--   1 obelix users      72286 Sep  2  2014 Angebot Professur blanco.html
          8 -rw-r--r--   1 obelix users       4277 Mar 17  2014 Anji Recepies
          4 drwxr-xr-x  15 obelix users       4096 Dec  6  2014 Backup
        156 -rw-r--r--   1 obelix users     156151 Feb 20 12:08 Canon LBP7210 -01.jpg
          4 -rw-r--r--   1 obelix users       1686 Jan 12  2014 Chlidrens Paintings - Underground.html
          4 drwxr-xr-x   2 obelix users       4096 Dec  6  2014 CyanogenMod
       1100 -rw-r--r--   1 obelix users    1122329 Oct 11  2012 Daktari-de.pdf
        644 -rw-r--r--   1 obelix users     658680 Oct 11  2012 Daktari-en.pdf
     809784 -rw-r--r--   1 obelix users  829213024 Oct  7  2013 DOMINO_DESI_ADM_9.0_32B_WIN_EN.exe
          4 drwxr-xr-x   7 obelix users       4096 Aug 11 14:53 Download
       2288 -rwxrwxrwx   1 obelix users    2341585 Feb 13 17:28 DSC03188.JPG Anjali
       1852 -rwxrwxrwx   1 obelix users    1895235 Sep  2  2013 DSCN1449.JPG
          4 drwxrwxr-x   7 obelix users       4096 Aug 11 20:52 Eclipse Workspace
          4 drwxrwxr-x   4 root   users       4096 Nov 15  2013 E-Finance Java
       1676 -rw-rw-r--   1 root   root     1713636 Feb 12 09:20 firewall
          4 drwxr-xr-x   2 obelix users       4096 Feb 10  2015 Firewall
       7056 -rw-r--r--   1 obelix users    7222647 Feb  6  2015 flash-plugin-11.2.202.442-release.x86_64.rpm
          4 drwxr-xr-x   2 obelix users       4096 Aug 12 14:35 Graphics
      20464 -rw-------   1 obelix users   20951136 Oct 25  2013 hplip-3.13.10.tar.gz
          4 drwxr-xr-x   4 obelix users       4096 Aug 11 21:43 Install
          4 -rw-r--r--   1 obelix users       2402 Dec 18  2013 Ips of free dns servers
          4 drwxr-xr-x   8 root   root        4096 Jul 27 17:41 kojo
        172 -rw-rw-rw-   1 obelix users     173838 Feb  5  2014 Lebenslauf.pdf
          4 drwxr-xr-x   2 obelix users       4096 Feb 25 21:55 Lexmark
          4 -rwxrwxrwx   1 obelix users       1742 Mar 25  2014 License.avastlic
      62456 -rw-r--r--   1 obelix users   63947735 Jan  5  2015 Linux_CAPT_PrinterDriver_V260_uk_EN.tar.gz
         16 drwxrwxr-x+  2 root   root       16384 Oct 12  2013 lost+found
         20 drwxr-xr-x  15 obelix users      20480 May 13 11:51 Notes
     488840 -rw-r--r--   1 obelix users  500572160 Dec 20  2013 NOTES_9.0.1_LINUX_RPM_EN.tar
          4 drwxr-xr-x  28 obelix users       4096 Jul 26 15:11 NotesDATA
          4 drwxr-xr-x  19 obelix users       4096 May 25  2014 Office12
       2924 -rw-r--r--   1 obelix users    2992465 Dec 19  2014 Playlist.xspf
        380 -rw-rw-rw-   1 obelix users     385360 Feb  5  2014 Publikationsverzeichnis.pdf
          4 drwxrwxr-x   3 obelix users       4096 Aug 10 18:24 Scala
          4 drwxrwxr-x   2 obelix users       4096 Aug 11 22:12 Scala Workspace
          4 drwxr-xr-x   3 obelix users       4096 Aug 11 17:30 shared
       1312 -rw-r--r--   1 obelix users    1341656 Jan 27  2014 Snowden_exklusiv_-_Snowden_exklusiv_Das_Interview_-_ARD_Das_.f4f
          4 drwxr-xr-x   7 obelix users       4096 Jun  1 19:46 SweetHome3D-4.6
          4 drwxr-xr-x   7 obelix users       4096 Feb 27  2014 teamviewer9
      21908 -rw-rw-rw-   1 obelix users   22430102 Feb 27  2014 teamviewer_linux.tar.gz
        488 -rw-r--r--   1 obelix users     496445 Oct 13  2014 The Herrmanns.jpg
          4 drwxr-xr-x   2 obelix users       4096 Jan  5  2015 Torrent Download
          4 drwxr-xr-x   3 obelix users       4096 Mar  5  2014 Tox
    1004548 -rw-r--r--   1 obelix users 1028653056 Oct  5  2014 ubuntu-14.04.1-desktop-amd64.iso
        424 -rw-r--r--   1 obelix users     431718 Apr 30  2014 UNIFO Foundation-First contact.pdf
         92 -rw-r--r--   1 obelix users      93003 Oct 27  2014 UnifoGate.fwb
          4 drwxr-xr-x   6 obelix users       4096 Mar 27 08:47 Virtualbox
       8068 -rw-r--r--   1 obelix users    8258048 Oct 22  2013 wr1042nv1_en_3_15_7_up_boot(130923).bin
    obelix@Hasty:/home/data1>
    Joe

  7. #7

    Default Re: Subdirs are created under the name of another user!

    Here the window that appears after Boot: http://paste.opensuse.org/23307316 !

    Joe

  8. #8
    Join Date
    Oct 2008
    Location
    Glasgow, Scotland
    Posts
    1,131

    Default Re: Subdirs are created under the name of another user!

    Quote Originally Posted by J0EE0J View Post
    here, as requested ,
    Code:
    #   ls -la /home/data1
    Is this a symbolic link?

    Code:
    #  mount |grep data1
    Or mounted from someqhere else?
    ~Thank you for sharing an interesting problem.
    --
    slàinte mhath,
    rayH

  9. #9

    Default Re: Subdirs are created under the name of another user!

    Hi Carlos,

    the path is: /home/data1 , where the system is running on a SSD , Data 1 is a HD and Data 2 another HD .
    I have verified the other data2 - Obelix is the owner shown in Dolphin.

    All subdirs in /home/joe , which is on the SSD are also reported by Dolphin having Obelix as owner


    Thanks , Joe

  10. #10
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,998

    Default Re: Subdirs are created under the name of another user!

    Thanks, well done.

    Can you please repeat the situation as with the last (with the obelix in it, not Obelix as you reported earlier) ls listing, but then with
    Code:
    ls -lsn
    We then get the real userid and not the username.

    A question, there is another difference there, Angebot Professur blanco.html is not in the first listing, but it is in the second, there maybe more I did not check all), do you have an explantion for that, or do you blame Dolphin for it?

    Also mark that it is not only about directories, but also normal files that show the phenomenon.

    BTW, is /home/data1 a separate file system? When yes, please show
    Code:
    mount | grep data1
    Henk van Velden

Page 1 of 6 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •