]> git.ipfire.org Git - thirdparty/systemd.git/commit
copy: avoid following fifo/node chmod target
authorLuca Boccassi <luca.boccassi@gmail.com>
Thu, 9 Jul 2026 10:35:50 +0000 (11:35 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 14 Jul 2026 15:57:14 +0000 (16:57 +0100)
commitea44ee4e8a97bfd3737cc35cc6e4ed567828b8e4
treef194cd58e7e7e6bd902a2d9b7c5812b798ed61fa
parentf5e35f72cf8d930022cf9999664da3eb10251720
copy: avoid following fifo/node chmod target

Use AT_SYMLINK_NOFOLLOW when applying copied FIFO and device
node modes, matching the adjacent ownership and timestamp updates.

Follow-up for e69cc9eb36fd6e76710b4d5f4bb7013980fb5174
src/shared/copy.c
src/test/test-copy.c