pcmanfm root permission error
#1
Hi All

I have installed pcmanfm file manager and have a problem opening a folder as root.
As I have used this program for years on the BeagleBone Black and never had any issues, I can't seem to make the .desktop file work as expected.
Where-ever I have searched the solution being put forward is as follows.

1: create a file in /.local/share/file-manager/actions
    call it root.desktop and put the following in it.

Quote:[Desktop Entry]
Name = Open as Root
Tooltip = Open the folder as root
Icon = terminal
Profiles = on_folder;

[X-Action-Profile on_folder]
Name = Open as Root
MimeTypes = inode/directory;
SelectionCount = 1
Schemes = file;
Exec = gksudo pcmanfm %f


I edited the last line to "sudo pcmanfm %f"
When I restart and run pcmanfm there is an additional line in the menu "Open Folder as Root"
There is no confirming message and when I perform a file copy to that folder , there is a permissions error.

I seem to have the same problem with Xfe which has an option in Tools/New Root window.
So I suspect there are global permission errors, however all the usual sudo install , update etc all work correctly.

Hopefully someone can shed some light on this.

Regards

EDIT: I don't seem to get email notifications of replies, bu ticked the boxes when I wrote the email ??
  Reply


Messages In This Thread
pcmanfm root permission error - by Dinosaur1946 - 01-11-2022, 04:38 AM
RE: pcmanfm root permission error - by kqlnut - 01-11-2022, 06:09 AM
RE: pcmanfm root permission error - by kqlnut - 01-11-2022, 05:46 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  discover packages error lash 3 552 02-14-2024, 03:20 PM
Last Post: Kevin Kofler
  Error while dist upgrade PostmarketOS shellchocolat 0 740 03-16-2023, 02:56 AM
Last Post: shellchocolat
  ROOT CavRic-1974 10 7,369 01-11-2022, 08:19 AM
Last Post: CavRic-1974
  Where is the fix for CVE-2021-31698 (Code execution as root via AT commands)? Timeo 1 1,684 12-08-2021, 04:23 AM
Last Post: wibble
  Wrong PIN error lordearl 3 4,317 09-20-2021, 03:19 AM
Last Post: mcdanielmark473
  mmc_erase: group start error -110, status 0x0 gab 1 2,277 06-26-2021, 07:00 PM
Last Post: 8bit

Forum Jump:


Users browsing this thread: 2 Guest(s)