Version: (using KDE KDE 3.5.2) Installed from: 00 hello, when i want to open a file with owner root and i'm not currently root, i want kate to ask me to "log in" as root to work with this file without the need to first leave kate. is this possible? greetings hans
Everything is possible. But it's a bit complex, as the Kate process is owned by the current user, we would have to use an extra process to read (and write) files on behalf of other users. But it is a good idea, patches (for KDE4) would be wellcome! -anders
i'm only a user, so i'm sad to say, that i can't do anything for a patch :-( as you wrote, would it be better/possible to implement such a process into the os itself, so that every program with this problem would work in the same way and that there mustn't be running more of the same/similar processes?
On Sunday 16 April 2006 22:05, hans horwath wrote: > as you wrote, would it be better/possible to implement such a process into > the os itself, so that every program with this problem would work in the > same way and that there mustn't be running more of the same/similar > processes? My take is that we can do two things with unreadable/writable files: * offer to open the file through kdesu using another editor instance * offer to load/save the file through a pipe to a su'd process The latter would be cool 8=)
what comes to my mind now: what about files belonging to a user that is not root and that is not "me" too? as i see now: best would be, if there was a neutral way to login as any user - imo.
On Sunday 16 April 2006 23:45, hans horwath wrote: > as i see now: best would be, if there was a neutral way to login as any > user - imo. kdesu provides that.
and what is there for gnome e.a.?
KWrite/Kate could offer to restart itself in a new session/instance with other user privileges. But this is dangerous and I'd rather it didn't.
*** This bug has been marked as a duplicate of 87668 ***