[SOLVED] I have to be root to create links using Konqueror - why?
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have to be root to create links using Konqueror - why?
When I try (in Konqueror) to create a Link to Application to make Kwrite open a file (a plain text file) in another folder (both owned by me), I can't unless I'm root, so I have to open the Konqueror root profile. Even after I create the link there, it can't be used except as root, even after I chown to me. Why can't I create links as myself? If that's a changeable setting, where do I change it?
This seems to be a problem only in Konqueror (and maybe other file managers in the GUI?). I can avoid it by entering "ln -s [target]" in a terminal. Is it because I've been creating the wrong type of link?
Last edited by newbiesforever; 05-23-2012 at 01:22 PM.
I have to admit I'm puzzled. I'm not clear on what you mean by "creating links in Konqueror"? Are you referring to file associations, bookmarks, or what? Perhaps clearing that up would help.
Sorry. I meant opening a Konqueror window, right-clicking on a blank area, and selecting "create new link to [file, application, or device]." I thought it was going to accomplish the same thing as ln -s in a terminal. The problem occurs only in Konqueror: if I make the link from a Konqueror window, the link will be owned by root. Or...that was happening. Now I can't even duplicate the problem.
There is something else I hadn't mentioned yet (because I was considering one problem at a time). When I use Konqueror to create a link to a file, it creates only a useless file called "[filename].desktop" that contains
Quote:
Quote:
[Desktop Entry]
URL=
Type=Link
I assume the problem here involves my inadequate understanding of links...
I had never tried that, so I just did. I can understand your puzzlement at the result.
I ended up having to read up on it in the Konqueror help; it definitely is not equivalent to the ln command, but rather specific to Konqueror as a browser/file manager.
Help-->Konqueror Manual-->Konqueror-->Konqueror the File Manager-->Create New
(whew!!)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.