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
Mauser
Forum Regular
Forum Regular
Posts: 711
Joined: Mon Jun 27, 2016 7:32 pm

Re: Open Thunar to root broken

#41 Post by Mauser » Sat Nov 03, 2018 11:31 am

Kruppt wrote:
Sat Nov 03, 2018 11:27 am
fehlix wrote:
Sat Nov 03, 2018 10:19 am
Without knowing what else in your system is wrong, it might best to reinstall.
My strong advice: Stay away from Root esp the Thunar actions with root (change ownership and root-Thunar. As you can bork you system so easily. This actions are meant for experts only. Best remove thos from Thunar.
The only "bug" I see, is that the warning within root-Thunar is far to small and shall by much bigger :eek: !
As normal user you don't need any of those root-actions. Nearly all customizations can be done within the home directory itself, e.g icon set, new desktop-icons etc.
:puppy:
He can remove the action that changes ownership from menu if he has a problem
clicking on the wrong action/s
Edit --> Configure Custom Actions
then select the problematic action and hit the delete button.
Or am I missing something?
Thanks. That's solves the problem. I deleted that bug as you suggested. By the way, The only thing you missed is that I didn't click on the wrong action. There is a cross connection bug in Thunar.
Last edited by Mauser on Sat Nov 03, 2018 11:54 am, edited 1 time in total.

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

Re: Open Thunar to root broken

#42 Post by richb » Sat Nov 03, 2018 11:37 am

asqwerth wrote:
Sat Nov 03, 2018 11:28 am
richb wrote:
Sat Nov 03, 2018 10:22 am
There are two right menu entries that pertain, Open as root and Ownership to root. ...
It no doubt will be a subject for the dev team to attempt to make this distinction more clear and as failsafe as possible. Perhaps eliminate the ownership to root option. I am not sure why anyone would want to do that....
Same here. The "open as root" option is pretty useful for editing root config files or - like Mauser probably did - moving icons from ~/.icons folder to /usr/share/icons.

By itself this option usually won't cause so much mayhem because the effect (the root thunar opening) is obvious.

The other option should be left to CLI chown and chmod commands.

The confusion is caused by the fact that both use menu descriptions that start with the letter "O" and have "root" in the description.

Why not just call "Open as Root" something less similar, like "ROOT THUNAR". The other one can be "Change ownership/permission". OR get rid of the 2nd option.
I like the idea of the name change to "Root Thunar". and just getting rid of "ownership to root".
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
Richard
Posts: 2149
Joined: Fri Dec 12, 2008 10:31 am

Re: Open Thunar to root broken [solved]

#43 Post by Richard » Sat Nov 03, 2018 11:50 am

Exactly, fehlix.

Open Thunar > Edit > Configure Custom Actions
Highlight "Ownership to root"
Left click on the Trash can icon of Thunar.
Confirm Delete.

No more Change Ownership to root!
MX171: Lenovo T430: Intel Ivy Bridge i5-3320M, 8GB RAM, 4.18.0-2-amd64, 119GB SSD
MX171: EeePC 1005HA: Dual Core Atom N270, 1GB RAM, 4.9.0-8-686, 150GB HDD
Thunar/Doublecmd, LibO613, Dropbox, Firefox, CherryTree, Vbox. LinuxCounter #208633

User avatar
Eadwine Rose
Forum Veteran
Forum Veteran
Posts: 6104
Joined: Wed Jul 12, 2006 2:10 am

Re: Open Thunar to root broken [solved]

#44 Post by Eadwine Rose » Sat Nov 03, 2018 11:57 am

I second Rich in that.. ownership to root like that in thunar should be removed to avoid mishaps. Maybe something to take along in a next update?
MX-17.1_x64 Horizon 14-3-2018 * 4.15.0-1-amd64 ext4 Xfce 4.12.3 * AMD Asus M4A785TD-V EVO AM3 * ASUS GF GT640-1GD5-L NVIDIA 384.130 * AMD Proc. Athl II X4 635, sAM3 * HDA ATI SB VT1708S An * 2x4Gb DDR3 1600 Kingst * 22" Samsung SyncM P2250 * HP F2280

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

Re: Open Thunar to root broken

#45 Post by fehlix » Sat Nov 03, 2018 1:09 pm

richb wrote:
Sat Nov 03, 2018 11:37 am
asqwerth wrote:
Sat Nov 03, 2018 11:28 am
It no doubt will be a subject for the dev team to attempt to make this distinction more clear and as failsafe as possible. Perhaps eliminate the ownership to root option. I am not sure why anyone would want to do that....
I like the idea of the name change to "Root Thunar". and just getting rid of "ownership to root".
Note: With both of these custom actions:
Ownership to Root
and
Ownership to user
you can bring your system into an unrecoverable state quickly, if applied onto some system folder.
Suggest to keep those actions for experts on the CLI and remove as default from Thunar,
as normal user shall never do such changes.
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
Mauser
Forum Regular
Forum Regular
Posts: 711
Joined: Mon Jun 27, 2016 7:32 pm

Re: Open Thunar to root broken

#46 Post by Mauser » Sat Nov 03, 2018 1:31 pm

fehlix wrote:
Sat Nov 03, 2018 1:09 pm
richb wrote:
Sat Nov 03, 2018 11:37 am
asqwerth wrote:
Sat Nov 03, 2018 11:28 am
It no doubt will be a subject for the dev team to attempt to make this distinction more clear and as failsafe as possible. Perhaps eliminate the ownership to root option. I am not sure why anyone would want to do that....
I like the idea of the name change to "Root Thunar". and just getting rid of "ownership to root".
Note: With both of these custom actions:
Ownership to Root
and
Ownership to user
you can bring your system into an unrecoverable state quickly, if applied onto some system folder.
Suggest to keep those actions for experts on the CLI and remove as default from Thunar,
as normal user shall never do such changes.
Thank you for pointing that out. I deleted Ownership to user as well now on top of deleting Ownership to Root earlier as suggested by Kruppt. Both of those useless options should be removed in future updates so no one else has trouble.

User avatar
Tom Sawyer
Forum Novice
Forum  Novice
Posts: 2
Joined: Sat Nov 03, 2018 2:45 pm

Re: Open Thunar to root broken

#47 Post by Tom Sawyer » Sat Nov 03, 2018 2:50 pm

Mauser wrote:
Sat Nov 03, 2018 1:31 pm
Both of those useless options should be removed in future updates so no one else has trouble.
I agree that they should be removed from the context menu. But only because doing so will keep ignorant people who insist on doing things they shouldn't from hurting themselves. I have already had occasion to use the first option and can envision using the second so it is false to say that they are useless.

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

Re: Open Thunar to root broken [solved]

#48 Post by Jerry3904 » Sat Nov 03, 2018 3:02 pm

For the record: exactly one person has had that problem in the last 4 years, so it is not exactly a crisis.

We will be looking at the options from the perspective of the entire world of MX users as we move forward.
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
Tom Sawyer
Forum Novice
Forum  Novice
Posts: 2
Joined: Sat Nov 03, 2018 2:45 pm

Re: Open Thunar to root broken [solved]

#49 Post by Tom Sawyer » Sat Nov 03, 2018 3:25 pm

Okay, leave it in place. Add a great big red warning that tells everyone to NOT use the option. Consider it a practical IQ test. Darwin needs some assistance now and then, what with modern medicine being what it is :rolleyes: .

User avatar
asqwerth
Forum Veteran
Forum Veteran
Posts: 3471
Joined: Sun May 27, 2007 5:37 am

Re: Open Thunar to root broken [solved]

#50 Post by asqwerth » 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.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

Post Reply

Return to “MX Help”