How to change permission to paste into root directory?

Trying to paste files into the root directory and can’t seem to do it or find out how to change the folder permissions.

Any ideas? Using KDE 6 with Dolphin if that matters.

You can run Dolphin as root.

In a terminal, run :

sudo dolphin

I get this result:

sudo dolphin
Password:
Running Dolphin with sudo is not supported as it can cause bugs and expose you to security vulnerabilities. Instead, install the kio-admin package from your distro and use it to manage root-owned locations by right-clicking on them and selecting “Open as Administrator”.

sudo swupd bundle-add kio-admin
Loading required manifests…
Warning: Bundle “kio-admin” is invalid, skipping it…
Failed to install 1 of 1 bundles

Try with dbus :

sudo swupd bundle-add dbus

For Weston and Wayland :

dbus-run-session -- dolphin

For X

dbus-run-session -- sh -c 'DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY dolphin'

Thanks but i get

sudo swupd bundle-add dbus
Loading required manifests…
Warning: Bundle “dbus” is invalid, skipping it…
Failed to install 1 of 1 bundles

:pensive:

edit: Seems like running the dbus-run-session – dolphin opens the root folder, I’m guessing with extended permissions but I still can’t paste items into the directory.

edit 2: Ok I’ve found out I can paste into it but opening the folder as administrator. Not sure if that was there before and I missed it or if doing this helped, I’m new to LInux so thanks for the help.

It probably was there already.

You’re welcome !

It is not a good idea to run the software as root, It’s better to use the terminal and try to respect the UNIX permissions hierarchy.