chiark / gitweb /
tmpfiles: make sure "C" doesn't copy anything if the destination already exists
authorLennart Poettering <lennart@poettering.net>
Thu, 19 Jun 2014 17:36:08 +0000 (19:36 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 19 Jun 2014 17:36:08 +0000 (19:36 +0200)
commite156347e0480d3eee4877463297149ae96e34f8c
treeb0ee5eafac6c1e2ffbcd0e7cfa1a5c3c9b6911e9
parent19f3934057d20c63f4c95791312038a41b4666d0
tmpfiles: make sure "C" doesn't copy anything if the destination already exists

Previously it would recursively copy the entire tree in, and descend
into subdirectories even if the destination already exists. Let's do
what the documentation says and not do that.

If files down the tree shall be copied too, they should get their own
"C" lines.
man/tmpfiles.d.xml
src/shared/copy.c
src/shared/copy.h
src/tmpfiles/tmpfiles.c