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

Thread: application shortcut owned by root?

  1. #1

    Unhappy application shortcut owned by root?

    I tried to create a shortcut to an app I wanted in the plasma dashboard. When I did so, I found that it was owned by root! When I looked at the permissions of the other app icons, they were owned by me, the user.
    Why did plasma make my newly created app launcher owned by root?
    I'm so used to the way KDE 3 worked. It was so much simpler. I could click anywhere on that desktop to add shortcuts and they were owned by me, not root. I don't understand why they changed this.

    How can I make a shortcut to my app that is owned by me?

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,385

    Default Re: application shortcut owned by root?

    Somewhere in the process you must have made yourself root, else I can not understand this.
    Henk van Velden

  3. #3

    Default Re: application shortcut owned by root?

    When installing, I was given a choice to use the same password for root and user. I guess I picked the wrong one.

    The whole situation is weird because I finally found the tool that adds an application to the kickoff menu and then I chose "add to desktop" and now it's there with the correct (user) permissions.

    When I add anything else in plasma (text, folder, URL) it has the correct permissions, (user) just not when I "add a link to an application".

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,385

    Default Re: application shortcut owned by root?

    In any case you should change the root password asap to make it different from any normal users password (as far as you know them of course).
    Henk van Velden

  5. #5

    Default Re: application shortcut owned by root?

    There's a gui tool for that, right?
    I hope that something won't go wrong and then I'd be locked out of my computer.

  6. #6
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,385

    Default Re: application shortcut owned by root?

    There is a simple and secure way of doing this.

    Open a terminal and type
    Code:
    su -
    it ask for the root password (you will see nothing while typing this, end with the Return key).
    You are now root and the prompt will have a # in it, like this:
    Code:
    henk@boven:~> su -
    Wachtwoord:
    boven:~ #
    Now type
    Code:
    passwd
    it will ask for the new password twice (to avoid typos).
    Now you are finished, but to check, do NOT LOG OUT OF THE TERMINAL, but open some other root window, e.g. YaST. It will ask for the root password. Use the new password. When it works you can log out of the terminal with
    Code:
    exit
    Henk van Velden

  7. #7

    Default Re: application shortcut owned by root?

    Thanks that worked. Password is changed. Now I hope that fixes my problem with adding a link to an application being owned by root.
    So far, that behavior did not change. I wonder if that would take effect after rebooting or not?
    Last edited by gymnart; 28-Jun-2010 at 13:01. Reason: update

  8. #8
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,385

    Default Re: application shortcut owned by root?

    Nice. Try it and when something goes wrong, try to write down as precise as possible what you did. It is always a bit difficult to report about doing things in a GUI (contrary to a CLI where you can simply copy/paste what happens).
    Henk van Velden

  9. #9

    Default Re: application shortcut owned by root?

    Changing the root password did not help the plasma dashboard problem.
    This is what I've been doing:
    Right Click on plasma dashboard
    Select Create New
    Select Link to New Application
    Look at the Permissions tab. It says that root owns it and it is in root's group.
    Everything else on the right click menu from the dashboard has the correct permissions (owned by me, the user, and in my users group)

    Like I said, I have to use the tool that adds an application to the kickoff menu and then I chose "add to desktop" and that works with the correct (user) permissions.

    So, something is wrong with the dashboard's "Create New Link To Application" tool. Is there anyway to change that setting to have the proper permissions?

  10. #10
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: application shortcut owned by root?

    gymnart wrote:
    > Changing the root password did not help the plasma dashboard problem.
    > This is what I've been doing:
    > Right Click on plasma dashboard
    > Select Create New
    > Select Link to New Application
    > Look at the Permissions tab. It says that root owns it and it is in
    > root's group.
    > Everything else on the right click menu from the dashboard has the
    > correct permissions (owned by me, the user, and in my users group)
    >
    > Like I said, I have to use the tool that adds an application to the
    > kickoff menu and then I chose "add to desktop" and that works with the
    > correct (user) permissions.
    >
    > So, something is wrong with the dashboard's "Create New Link To
    > Application" tool. Is there anyway to change that setting to have the
    > proper permissions?
    >
    >

    your problem is very unusual...so unusual i think it might be one of a
    kind....and, i wonder why...so some questions:

    what version of what operating system are you running?

    what version of what desktop environment are you running?

    the "plasma dashboard" you speak of: is that part of the default
    install of the desktop environment? or, is it an add on that you
    installed? if so, what is the name of the program and where did you
    get it?

    i suspect you have accidentally pulled packages from conflicting
    sources, to help trouble shoot that please do the following in a
    terminal and copy/paste the results back to here:

    Code:
    zypper lr -d
    after you have pasted the text in the reply window, please highlight
    it and then click the # button over the edit window (which will format
    it for easy reading)..

    because it kinda sounds like you either broke it as noted just above,
    or maybe on initial install with a faulty install media, i ask

    Did you:

    1. get your install image from http://software.opensuse.org/112/en ?
    (if not, then where?)
    2. check the md5sum of the downloaded iso?
    3. do this http://tinyurl.com/yajm2aq before install attempt?

    if you answered "no" (or "don't know") to any of those then see the
    following cites before you start over:
    http://en.opensuse.org/Download_Help
    http://tinyurl.com/yhf65pv
    http://tinyurl.com/ycly3eg

    --
    DenverD (Linux Counter 282315)
    CAVEAT: http://is.gd/bpoMD
    via NNTP w/TBird 2.0.0.23 | KDE 3.5.7 | openSUSE 10.3
    2.6.22.19-0.4-default SMP i686
    AMD Athlon 1 GB RAM | GeForce FX 5500 | ASRock K8Upgrade-760GX |
    CMedia 9761 AC'97 Audio

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

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