Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Open Thunar to root broken [solved]

Help for Current Versions of MX
Message
Author
User avatar
richb
Administrator
Posts: 17239
Joined: Wed Jul 12, 2006 2:17 pm

Re: Open Thunar to root broken [solved]

#51 Post by richb » Sat Nov 03, 2018 3:46 pm

asqwerth wrote:
Sat Nov 03, 2018 3:38 pm
I do find myself having to make sure all the time that I don't click on the root ownership option when I want the open as root option, so I say that having them next to each other with such similar menu descriptions is not a good idea and inviting such accidents.
+1. it may be unlikely since little reporting on users doing this, but if they do it is a very bad result.
Forum Rules
Guide - How to Ask for Help

Rich
SSD Production: MX 17.1
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB, 350 GB HD

User avatar
timkb4cq
Forum Veteran
Forum Veteran
Posts: 4421
Joined: Wed Jul 12, 2006 4:05 pm

Re: Open Thunar to root broken [solved]

#52 Post by timkb4cq » Sat Nov 03, 2018 4:13 pm

IMHO, the Ownership to Root & Ownership to user right click actions in Thunar have a high possibility of unintended consequences relative to their utility. We have the delete key in Thunar mapped to Send to Trash where they can be recovered if necessary instead of to delete for the same reason.
If we leave them there, I would separate them from the much more useful Open root Thunar here & Edit as Root instead of having them stuck between them where it is easier to select them by mistake.
MSI 970A-G43 MB, AMD FX-6300 (six core), 16GB RAM, GeForce 730, Samsung 850 EVO 250GB SSD, Seagate Barracuda XT 3TB

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 22697
Joined: Wed Jul 19, 2006 6:13 am

Re: Open Thunar to root broken [solved]

#53 Post by Jerry3904 » Sat Nov 03, 2018 4:22 pm

Yup, I think we have pretty good consensus on that now.
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB

User avatar
fehlix
Forum Guide
Forum Guide
Posts: 2064
Joined: Wed Apr 11, 2018 5:09 pm

Re: Open Thunar to root broken [solved]

#54 Post by fehlix » Sat Nov 03, 2018 4:23 pm

What about this compromise - good for "normal" user and also for experts:
We keep as a maintenance option Root-Thunar within the right-click menu
and move Change-Ownership options to the right click menu of the running Root-Thunar.
Advantage:
Normal user cannot accidentally shoot themselves in the food.
Experts can have Root-Thunar as they have now to their liking.
including the option to change ownership within maintenance mode.
:snail:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
richb
Administrator
Posts: 17239
Joined: Wed Jul 12, 2006 2:17 pm

Re: Open Thunar to root broken [solved]

#55 Post by richb » Sat Nov 03, 2018 4:46 pm

Why do experts need Ownership to root within a user log in? If they need to be in root log in as such.
Forum Rules
Guide - How to Ask for Help

Rich
SSD Production: MX 17.1
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB, 350 GB HD

User avatar
h2-1
Forum Regular
Forum Regular
Posts: 429
Joined: Sat Nov 15, 2008 3:16 pm

Re: Open Thunar to root broken [solved]

#56 Post by h2-1 » Sat Nov 03, 2018 5:02 pm

It is a curious inxi error, caused by some unexpected output for sudo -V

To help debug, I'd need to see the following:

Code: Select all

sudo -V
sudo -V 2>/dev/null
There's either an unexpected syntax change, or it's outputting to stderr.
smxi/sgfxi site (manuals, how-to's, faqs) :: script forums :: Check out inxi sys info script!

User avatar
fehlix
Forum Guide
Forum Guide
Posts: 2064
Joined: Wed Apr 11, 2018 5:09 pm

Re: Open Thunar to root broken [solved]

#57 Post by fehlix » Sat Nov 03, 2018 5:04 pm

richb wrote:
Sat Nov 03, 2018 4:46 pm
Why do experts need Ownership to root within a user log in? If they need to be in root log in as such.
Good question ;) But I assume the experts will have "good" reason.

My personal pref, which I do recommend to my user: No such root-action for normal "GUI"-user :happybday:
I do not see a no reason for experts to have even Root-Thunar, YMMV.
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
fehlix
Forum Guide
Forum Guide
Posts: 2064
Joined: Wed Apr 11, 2018 5:09 pm

Re: Open Thunar to root broken [solved]

#58 Post by fehlix » Sat Nov 03, 2018 5:08 pm

h2-1 wrote:
Sat Nov 03, 2018 5:02 pm
It is a curious inxi error, caused by some unexpected output for sudo -V

To help debug, I'd need to see the following:

Code: Select all

sudo -V
sudo -V 2>/dev/null
There's either an unexpected syntax change, or it's outputting to stderr.
The OP did run the inxi with a system in a bad shap,
had all set-uid/setgrouid permissions revoked and some more ( all under /usr/bin with group ownership to root).
So I assume, this triggerd something.
EDIT: clarified "some more"
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
h2-1
Forum Regular
Forum Regular
Posts: 429
Joined: Sat Nov 15, 2008 3:16 pm

Re: Open Thunar to root broken [solved]

#59 Post by h2-1 » Sat Nov 03, 2018 5:21 pm

Re root user for a file manager, there are many reasons you want that. It's particularly helpful if you work with reasonably large sets of root owned files, for example Apache configurations etc. I personally view the lack of a root file manager as a real production pain. I don't use these often, but when I need it, not having it really costs me time.

This is kind of in the realm of: Don't confuse the fact you don't need something with the fact that that something has many uses that you simply don't need yourself, but which others do.
smxi/sgfxi site (manuals, how-to's, faqs) :: script forums :: Check out inxi sys info script!

User avatar
fehlix
Forum Guide
Forum Guide
Posts: 2064
Joined: Wed Apr 11, 2018 5:09 pm

Re: Open Thunar to root broken [solved]

#60 Post by fehlix » Sat Nov 03, 2018 5:29 pm

h2-1 wrote:
Sat Nov 03, 2018 5:21 pm
Re root user for a file manager, there are many reasons you want that. It's particularly helpful if you work with reasonably large sets of root owned files, for example Apache configurations etc. I personally view the lack of a root file manager as a real production pain. I don't use these often, but when I need it, not having it really costs me time.

This is kind of in the realm of: Don't confuse the fact you don't need something with the fact that that something has many uses that you simply don't need yourself, but which others do.
Good points ;) Don't forget we have switch-to-other user, where you can have a full root session, switching with one key-stroke between normal user session and a root session.
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

Post Reply

Return to “MX Help”