01-11-2022, 04:38 AM
(This post was last modified: 01-11-2022, 04:43 AM by Dinosaur1946.
Edit Reason: After thought
)
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.
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 ??
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 ??