Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Two unexpected root-owned folders have appeared on my Plasma desktop.

  1. #1
    Join Date
    Jun 2017
    Location
    Australia
    Posts
    582

    Default Two unexpected root-owned folders have appeared on my Plasma desktop.

    Hi

    I use two Plasma Activities, each having 9 VDs. The primary Activity is my "daily driver"; here i do all my day to day playing around, browsing, documents, music streaming etc. Its desktop is set to Desktop Layout. My secondary Activity is less visited, typically only weekly. It's my "administrative" area, with lots of system info widgets on the desktop [which is set to Folders Layout]. I switch to this Activity when i do my weekly [+/-] zypper dup.

    Sometime since the previous dup, ie, sometime in the past ~week but i can't narrow it down better, two new & unexpected folders appeared on the desktop of my secondary Activity. I did not knowingly put them there, & i'd prefer them not to be there. Obviously i tried removing them, but then i discovered they're owned by root. Before i force their deletion using root privileges i felt i should pause & first ask here, in case i'm about to create trouble for myself.

    Has anyone seen these folders appear on their own desktops, have any ideas about why they occurred, & have any comment about the safety in me now deleting them, pls?



    My Tower's TW is currently 20171018.

  2. #2
    Join Date
    Sep 2013
    Location
    Norfolk, UK
    Posts
    1,314

    Default Re: Two unexpected root-owned folders have appeared on my Plasma desktop.

    Quote Originally Posted by GooeyGirl View Post
    Has anyone seen these folders appear on their own desktops,
    I for one don't have them...

    have any ideas about why they occurred,
    Afraid not... Things Happen™

    have any comment about the safety in me now deleting them, pls?
    Do they contain anything?

    Rather than deleting them, I would temporarily rename/move them and see how it goes.
    Regards, Paul

    2x Tumbleweed (Snapshot: 20191203) KDE Plasma 5
    2x Leap 15.1 KDE Plasma 5

  3. #3
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,872
    Blog Entries
    3

    Default Re: Two unexpected root-owned folders have appeared on my Plasma desktop.

    I am not seeing those. It is probably caused by something that you did.

    I would guess that the "@$System" folder is from Yast, probably while running Yast Software Management. And the reason I'm guessing that, is the "@System" is used to indicated the list of all installed packages. Hmm, "zypper" also does that. So maybe it was something that you did in "zypper".

    In any case, what you see on your desktop (apart from wallpaper and windows) comes from the "Desktop" directory (under your home directory). You can go there with a command line (perhaps running "konsole") using
    Code:
    cd ~/Desktop
    And then if you list the directory
    Code:
    ls
    you will see subdirectories "@System" and "zypper" which will be those new folders. Since they are root-owned, you would have to remove them as root. Since they are readable, you should be able to list their content without being root:
    Code:
    ls @System
    ls zypper
    I'm pretty sure that your normal desktop menu will have an entry for "File manager - super user mode". You might find it easier to use that.

    And definitely take a look at what is in those folders before you decide whether it is safe to remove them.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  4. #4
    Join Date
    Jun 2017
    Location
    Australia
    Posts
    582

    Default Re: Two unexpected root-owned folders have appeared on my Plasma desktop.

    Thank you both.

    Yes whilst it's pretty sure that these 2 directories came into recent existence due to some action i did, i've still no idea what it might have been [given i'm not aware of having been doing anything radical / new / different in the past week compared to before]. Anyway...

    When i inspect both directories [showing hidden files] in my standard Dolphin, & in the superuser Dolphin, i see the identical content:


    In Konsole initially:
    Code:
    gooeygirl@linux-Tower:~/Desktop> ls -l @System zypper
    @System:
    total 3460
    -rw-r--r-- 1 root root      52 Sep 28 19:44 cookie
    -rw-r--r-- 1 root root 3422103 Sep 28 19:44 solv
    -rw-r--r-- 1 root root  114052 Sep 28 19:44 solv.idx
    
    
    zypper:
    total 0
    gooeygirl@linux-Tower:~/Desktop>
    ...but then, with more options:
    Code:
    gooeygirl@linux-Tower:~/Desktop> ls -lah @System zypper
    @System:
    total 3.4M
    drwxr-xr-x 2 root    root    48 Sep 28 19:44 .
    drwxr-xr-x 4 gooeygirl users 4.0K Sep 28 19:44 ..
    -rw-r--r-- 1 root    root    52 Sep 28 19:44 cookie
    -rw-r--r-- 1 root    root  3.3M Sep 28 19:44 solv
    -rw-r--r-- 1 root    root  112K Sep 28 19:44 solv.idx
    
    
    zypper:
    total 4.0K
    drwxr-xr-x 2 root    root     6 Sep 28 19:44 .
    drwxr-xr-x 4 gooeygirl users 4.0K Sep 28 19:44 ..
    gooeygirl@linux-Tower:~/Desktop>
    I'm now slightly confused if "zypper" is really empty or not, & if removing "@System" would be benign...

  5. #5
    Join Date
    Oct 2014
    Location
    Italy
    Posts
    1,674

    Default Re: Two unexpected root-owned folders have appeared on my Plasma desktop.

    Quote Originally Posted by GooeyGirl View Post
    Thank you both.

    Yes whilst it's pretty sure that these 2 directories came into recent existence due to some action i did, i've still no idea what it might have been [given i'm not aware of having been doing anything radical / new / different in the past week compared to before].
    ...
    In Konsole initially:
    Code:
    gooeygirl@linux-Tower:~/Desktop> ls -l @System zypper
    @System:
    total 3460
    -rw-r--r-- 1 root root      52 Sep 28 19:44 cookie
    -rw-r--r-- 1 root root 3422103 Sep 28 19:44 solv
    -rw-r--r-- 1 root root  114052 Sep 28 19:44 solv.idx
    
    
    zypper:
    total 0
    gooeygirl@linux-Tower:~/Desktop>
    ...but then, with more options:
    Code:
    gooeygirl@linux-Tower:~/Desktop> ls -lah @System zypper
    @System:
    total 3.4M
    drwxr-xr-x 2 root    root    48 Sep 28 19:44 .
    drwxr-xr-x 4 gooeygirl users 4.0K Sep 28 19:44 ..
    -rw-r--r-- 1 root    root    52 Sep 28 19:44 cookie
    -rw-r--r-- 1 root    root  3.3M Sep 28 19:44 solv
    -rw-r--r-- 1 root    root  112K Sep 28 19:44 solv.idx
    
    
    zypper:
    total 4.0K
    drwxr-xr-x 2 root    root     6 Sep 28 19:44 .
    drwxr-xr-x 4 gooeygirl users 4.0K Sep 28 19:44 ..
    gooeygirl@linux-Tower:~/Desktop>
    I'm now slightly confused if "zypper" is really empty or not, & if removing "@System" would be benign...
    1. Yes, "zypper" is really empty, those "." and ".." files are just placeholders to navigate up-down the file tree.

    2. The usual place for "@System" is /var/cache/zypp/solv/@System; if you have a valid content there, removing the "fake" one should be harmless; anyway, as tannington suggested, just rename it and see what happens. Anyway, the content being just the results of the zypper solver, I think that zypper will recreate those at the right place on the next invocation.

    3. Just a wild guess about the causes, maybe you invoked "zypper" (or Yast2-Software) in some non-usual way; maybe by typing just "su" instead of "su -" in a terminal while pointing at your Desktop just before invoking "zypper"?
    Main: Leap 15 Gnome on i7 4720HQ + Geforce GTX960M
    Test: Leap 42.3 (& others) on Core2Duo + GM965

  6. #6
    Join Date
    Jun 2017
    Location
    Australia
    Posts
    582

    Default Re: Two unexpected root-owned folders have appeared on my Plasma desktop.

    Thanks heaps OrsoBruno

    #2: Indeed you are correct:
    Code:
    gooeygirl@linux-Tower:/var/cache/zypp/solv/@System> ls -lah
    total 3.6M
    drwxr-xr-x 1 root root   36 Oct 26 13:13 .
    drwxr-xr-x 1 root root  414 Oct 26 13:14 ..
    -rw-r--r-- 1 root root   52 Oct 26 13:13 cookie
    -rw-r--r-- 1 root root 3.5M Oct 26 13:13 solv
    -rw-r--r-- 1 root root 116K Oct 26 13:13 solv.idx
    gooeygirl@linux-Tower:/var/cache/zypp/solv/@System>
    I've never [knowingly] done "su", & it's a very long time since i last did "su -"... i virtually always use just "sudo". So this remains a mystery for me.

    Anyway, i have now temporarily renamed them both, & if nothing explodes or disintegrates before the weekend, i shall then delete them.

    Thanks again to all who've helped [such a great community here].

  7. #7
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,592

    Default Re: Two unexpected root-owned folders have appeared on my Plasma desktop.

    Quote Originally Posted by GooeyGirl View Post
    Anyway, i have now temporarily renamed them both, & if nothing explodes or disintegrates before the weekend, i shall then delete them.
    • UNIX® and Linux usually have a strict separation of User and System directories.

    Therefore, it may pay to, with the user 'root', to "grep" everything in "/etc/", "/var/", "/tmp/", "/usr/", "/opt/", "/root/", "/bin/", "/sbin/", "/lib/" and "/lib64/" for a string looking like your user home directory.

    A directory named "zypper" is only in the "/usr/lib/", "/usr/share/" and "/usr/share/doc/packages/" system directories on this machine.
    [ With the user 'root': "find / -name 'zypper' -type d" ]

  8. #8
    Join Date
    Oct 2014
    Location
    Italy
    Posts
    1,674

    Default Re: Two unexpected root-owned folders have appeared on my Plasma desktop.

    Quote Originally Posted by GooeyGirl View Post
    Thanks heaps OrsoBruno
    ...
    I've never [knowingly] done "su", & it's a very long time since i last did "su -"... i virtually always use just "sudo". So this remains a mystery for me.
    The "fake" folders were apparently created on Sept. 28 at 19.44: look in file /var/log/zypp/history for something relevant at that point in time...
    Main: Leap 15 Gnome on i7 4720HQ + Geforce GTX960M
    Test: Leap 42.3 (& others) on Core2Duo + GM965

  9. #9
    Join Date
    Jun 2017
    Location
    Australia
    Posts
    582

    Default Re: Two unexpected root-owned folders have appeared on my Plasma desktop.

    Quote Originally Posted by OrsoBruno View Post
    The "fake" folders were apparently created on Sept. 28 at 19.44: look in file /var/log/zypp/history for something relevant at that point in time...
    Thanks. Well now there's a mystery in a mystery... i cannot argue with those dates/times you noticed, given they're there in black & white... but, i simply did not notice those two directories on my desktop before a week ago [or less]. Furthermore, the log gives no insight either, completely skipping over that timestamp:
    Code:
    2017-09-28 18:50:55|install|mariadb|10.1.25-2.1|x86_64||download.opensuse.org-oss|29e7ad0c7d48673d92316cc28164f176dea11a3c|# 2017-09-28 18:50:55 libsoftokn3-3.32.1-1.1.x86_64.rpm installed ok
    # Additional rpm output:
    # /sbin/ldconfig: /usr/lib/libbrcolm2.so.1 is not a symbolic link
    # 
    # /sbin/ldconfig: /usr/lib/libbrscandec2.so.1 is not a symbolic link
    # 
    # /sbin/ldconfig: /usr/lib/libbrcolm2.so.1 is not a symbolic link
    # 
    # /sbin/ldconfig: /usr/lib/libbrscandec2.so.1 is not a symbolic link
    # 
    # 
    2017-09-28 18:50:55|install|libsoftokn3|3.32.1-1.1|x86_64||download.opensuse.org-oss|dee1a98383d85ec3ebf70cadaf7bb3f6846b953e|
    2017-09-28 23:02:37|command|root@linux-Tower|'zypper' 'dup'|
    # 2017-09-28 23:02:42 vivaldi-snapshot-1.13.971.8-1.x86_64.rpm install failed
    # rpm output:

  10. #10
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,199
    Blog Entries
    15

    Default Re: Two unexpected root-owned folders have appeared on my Plasma desktop.

    Hi
    So, run the history command from a terminal, also while there run;
    Code:
    history | less
    history | grep mkdir
    history | grep zypper
    
    ls -la .bash*
    Not a file there owned by root?

    In the history file, did you by chance switch to root user only using su or run a sudo command...

    Then switch to root user with su - (not sudo) and run the history command.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

Page 1 of 2 12 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
  •