diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-06-19 19:36:08 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-06-19 19:36:08 +0200 |
commit | e156347e0480d3eee4877463297149ae96e34f8c (patch) | |
tree | b0ee5eafac6c1e2ffbcd0e7cfa1a5c3c9b6911e9 /man | |
parent | 19f3934057d20c63f4c95791312038a41b4666d0 (diff) |
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.
Diffstat (limited to 'man')
-rw-r--r-- | man/tmpfiles.d.xml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml index 6b2753549c..f3cc2ea50c 100644 --- a/man/tmpfiles.d.xml +++ b/man/tmpfiles.d.xml @@ -225,7 +225,17 @@ L /tmp/foobar - - - - /dev/null</programlisting> <varlistentry> <term><varname>C</varname></term> - <listitem><para>Recursively copy a file or directory, if the destination files or directories don't exist yet.</para></listitem> + <listitem><para>Recursively + copy a file or directory, if + the destination files or + directories don't exist + yet. Note that this command + will not descend into + subdirectories if the + destination directory already + exists, instead the entire + copy operation is + skipped.</para></listitem> </varlistentry> <varlistentry> |