Skip to content

Copy file itself when editing a global desktop entry

Roman Nikonov requested to merge nicll/kio:pr/fix-editing-global-symlink into master

If one edits a desktop entry which is located in the /usr/share/applications directory, KPropertiesDialog copies it into user's applications directory and modifies afterwards.

However, if this is a symlink, then it gets copied as a symlink too. In this case, attempt to modify a desktop entry fails, as it's not writeable by the current user.

BUG: 450727

Merge request reports