import-common: when mangling OS trees, propagate ownership/mode from subdir to parent
authorLennart Poettering <lennart@poettering.net>
Tue, 26 Jan 2021 14:06:28 +0000 (15:06 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 26 Jan 2021 16:33:43 +0000 (17:33 +0100)
commit0ca04e5fdc343a03111cfebeeb86adfde3f97d25
tree69f5acc1bff70ddbd6dea1872761694fc568cc11
parentdda859f84cc2350713ba6effc62c4ea4652afc26
import-common: when mangling OS trees, propagate ownership/mode from subdir to parent

After all we want to remove the top-level dir, and make it look like the
only subdir, hence propagate the attributes from the subdir to the
top-level dir.
src/import/import-common.c