After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 65058 - add way to do operations as another user (as "sudo" does on the command line)
add way to do operations as another user (as "sudo" does on the command line)
Status: RESOLVED DUPLICATE of bug 490200
Product: nautilus
Classification: Core
Component: general
unspecified
Other other
: Normal enhancement
: future
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 147977 301137 330702 343609 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2001-11-21 19:56 UTC by Hakon
Modified: 2009-03-26 18:30 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Hakon 2001-11-21 19:56:43 UTC
I think it should be possible to log in as another user temporarily, 
concerning Nautilus only. It would be much faster and convenient than 
logging out completely. It happens quite often that I reach a directory 
that I don't have access to. This would solve that problem.
Comment 1 Hakon 2001-11-22 14:24:06 UTC
E.g. if i try to copy a file to a location that is write-protected, 
there should pop up a window asking for the root password so that the 
operation could be fulfilled.
Comment 2 Darin Adler 2001-11-28 22:56:34 UTC
It's definitely a neat idea to have some sort of "graphical sudo".
There might even be another bug report about this, because I know
we've discussed it before. But I can't find it.
Comment 3 vhg119 2002-02-10 17:23:57 UTC
I dont see this as a 'feature'
This should be a core function
Comment 4 Seth Nickell 2002-02-11 04:14:30 UTC
Can we embed out of process components running as a different user?
This is scary though because I imagine there would be some possible
security exploits to running a normal-user Nautilus that could talk to
a component running as root.
Comment 5 Mildred 2004-11-15 00:49:43 UTC
Why not with others programms.
So you could extract files to /usr/local/src with file-roller.
Comment 6 Sebastien Bacher 2005-02-12 22:35:32 UTC
*** Bug 147977 has been marked as a duplicate of this bug. ***
Comment 7 Sebastien Bacher 2005-05-05 21:11:02 UTC
*** Bug 301137 has been marked as a duplicate of this bug. ***
Comment 8 Alexander “weej” Jones 2005-10-15 19:02:21 UTC
I suggested this functionality be built in to gnome-vfs in Bug 318882 - seems
like it would work nicely in there.
Comment 9 Sergej Kotliar 2006-06-01 16:30:25 UTC
*** Bug 343609 has been marked as a duplicate of this bug. ***
Comment 10 Sergej Kotliar 2006-06-01 16:35:39 UTC
*** Bug 330702 has been marked as a duplicate of this bug. ***
Comment 11 Gavin Graham 2006-06-03 22:19:04 UTC
It would be cool if Gnome-VFS changed your priviledge not just to root.

For example, if my user is Gavin and I am trying to go into johns home directory, VFS can raise an exception due to lack of privs. Then it checks to see who the owner is of that file or directory and prompts me for a password to SU to the target user so the operation can be completed.

Comment 12 Siegfried Gevatter (RainCT) 2007-09-28 20:40:04 UTC
What's about displaying a horizontal bar like that one on the Trash when you navigate to a folder where you don't have permissions to create new files, with a button that would allow you to switch it into "root mode" on that window (introducing the password into a prompt if it wasn't used recently, of course) until you visit a folder owned by you?
Comment 13 Bruce Cowan 2007-09-29 01:01:10 UTC
(In reply to comment #12)
> What's about displaying a horizontal bar like that one on the Trash when you
> navigate to a folder where you don't have permissions to create new files, with
> a button that would allow you to switch it into "root mode" on that window
> (introducing the password into a prompt if it wasn't used recently, of course)
> until you visit a folder owned by you?
> 

This would be too obtrusive IMHO, especially as most folders are not writable.
Comment 14 Holger Berndt 2008-05-29 09:22:03 UTC
(In reply to comment #13)

> This would be too obtrusive IMHO, especially as most folders are not writable.

What about adding an option to switch the nautilus window in question into "root-user mode" (or even select an arbitrary user), and then display such a bar (containing a button to switch back to normal user mode) as long as this mode is active, as a reminder and warning sign?
Comment 15 Cosimo Cecchi 2008-05-29 10:06:37 UTC
This can be done with PolicyKit integration, which is bug 490200. Marking as a duplicate.

*** This bug has been marked as a duplicate of 490200 ***