https://bugs.kde.org/show_bug.cgi?id=527182

--- Comment #4 from Méven <[email protected]> ---
Git commit c8a6ae3753370d4231533f7f15b900ead498d65a by Méven Car.
Committed on 19/10/2026 at 11:17.
Pushed by meven into branch 'master'.

copyjob: give a copied folder the user extended attributes of its source

A copied file kept its extended attributes, but a copied folder lost them,
because CopyJob creates it with a plain mkdir. Dolphin keeps the view
properties of a folder in its home there, and Baloo keeps the tags, comment and
rating of a folder there, so a copy of a folder, or a move to another
filesystem, lost its sorting and its tags.

For a copy between local folders, CopyJob now names the source folder in the
metadata entry copy-xattrs-from of the mkdir, and the file worker copies the
attributes to the folder it creates. Only the user namespace is copied: the new
folder inherits its ACLs from its parent, as a new file does. A folder that
already exists keeps its own attributes.

M  +52   -0    autotests/jobtest.cpp
M  +2    -0    autotests/jobtest.h
M  +2    -0    docs/metadata.txt
M  +5    -0    src/core/copyjob.cpp
M  +13   -0    src/kioworkers/file/file.cpp
M  +9    -1    src/kioworkers/file/file.h
M  +9    -1    src/kioworkers/file/file_unix_copy.cpp

https://invent.kde.org/frameworks/kio/-/commit/c8a6ae3753370d4231533f7f15b900ead498d65a

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to