! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Superuser mode
Status:
CLOSED: FIXED
Severity:
enhancement

Comments

Description Niklas Volbers 2006-08-25 12:50:22 CEST
Once in a while it is necessary to switch to root. It is already possible to switch to a thunar instance running as root by adding an action 'Run as root' which executes 'gksu thunar %d'. I think something like that might even be a useful addition to the default thunar configuration.

Also, it would be helpful if thunar recognized the uid it is running under and displays a notice if it is running as root, because working as root is potentially risky.  (for a suggestion on how this should look like, see e.g. the last picture in http://pcmanfm.sourceforge.net/screenshots.html).
Comment 1 Benedikt Meurer editbugs 2006-08-26 22:47:32 CEST
Created attachment 750 
Ubuntu mockup

I have this Ubuntu mockup hanging on my TODO list for some time.
Comment 2 Benedikt Meurer editbugs 2006-08-26 22:57:35 CEST
Created attachment 751 
QnD

And this is how the patch for thunar looks right now (ported to the latest SVN).
Comment 3 Benedikt Meurer editbugs 2006-08-28 20:20:38 CEST
Fixed with revision 22923.

2006-08-28	Benedikt Meurer <benny@xfce.org>

	* thunar/thunar-window.c: Add warning text to the window when running
	  as super user. Bug #2218.

Bug #2218

Reported by:
Niklas Volbers
Reported on: 2006-08-25
Last modified on: 2009-07-17

People

Assignee:
Jannis Pohlmann
CC List:
1 user

Version

Version:
unspecified

Attachments

Ubuntu mockup (120.02 KB, image/png)
2006-08-26 22:47 CEST , Benedikt Meurer
no flags
QnD (1.91 KB, patch)
2006-08-26 22:57 CEST , Benedikt Meurer
no flags

Additional information