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 392959 - Dynamically changing to user to root and back
Dynamically changing to user to root and back
Status: RESOLVED FIXED
Product: gnome-commander
Classification: Other
Component: application
1.2.x
Other All
: Normal enhancement
: 1.2.4
Assigned To: epiotr
epiotr
Depends on:
Blocks:
 
 
Reported: 2007-01-05 00:29 UTC by rmails
Modified: 2008-03-26 23:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description rmails 2007-01-05 00:29:22 UTC
Once again I just wanted to copy a file to a location where I don't have write privileges to.
It would be great if I'd had the possibility to change to the user of gnome-commander to root without exiting it (Since you can't change the user of a running process (as far as i know) it would be enough to run the file operations with root privileges if somehow possible). And after I've done the operations, I needed the root privileges for, I can change back to my normal user.
Of course if I want to edit a file and I changed to root mode then it should also be opened as root user. (Who never edited a config file in /etc only to find out he's not logged in as root...).
The first time I want to change to root Gnome-Commander needs to ask for the password of course. But for the following times it could remember the password so the user doesn't need to enter it again (If I need to enter the password to often I'd just stay in root-mode). Of course the User should be able to disable this password-remembering function.
Comment 1 epiotr 2008-03-26 23:03:28 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.