cockpit-project / cockpit-files

A Featureful File Browser for Cockpit (Modernized and tested version of https://github.com/45Drives/cockpit-navigator)
GNU Lesser General Public License v2.1
27 stars 23 forks source link

Paste is broken as administrator #435

Open jelly opened 2 months ago

jelly commented 2 months ago

There is no {superuser: "try"} in spawnPaste so copying as root fails. Also as we use -R we need to make sure we retain the original permissions and test for this.

jelly commented 2 months ago

Also make sure that pasting does not overwrite existing files.