diff options
author | William Douglas <william.r.douglas@gmail.com> | 2017-08-09 17:53:03 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-08-09 17:53:03 +0200 |
commit | b3f5897f6e46f6dc54d9f46ea16258f558173500 (patch) | |
tree | e8b97db3893aeaa4bd235e4d1364b320ac5a82af /man/tmpfiles.d.xml | |
parent | Merge pull request #6497 from yuwata/bus-prop (diff) | |
download | systemd-b3f5897f6e46f6dc54d9f46ea16258f558173500.tar.xz systemd-b3f5897f6e46f6dc54d9f46ea16258f558173500.zip |
tmpfiles: Allow create symlink on directories (#6039)
Currently if tmpfiles is run with force on symlink creation but there already
exists a directory at that location, the creation will fail. This change
updates the behavior to remove the directory with rm_fr and then attempts to
create the symlink again.
Diffstat (limited to 'man/tmpfiles.d.xml')
-rw-r--r-- | man/tmpfiles.d.xml | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml index 555e9c2d56..91434d7b7a 100644 --- a/man/tmpfiles.d.xml +++ b/man/tmpfiles.d.xml @@ -273,13 +273,14 @@ L /tmp/foobar - - - - /dev/null</programlisting> <term><varname>L</varname></term> <term><varname>L+</varname></term> <listitem><para>Create a symlink if it does not exist - yet. If suffixed with <varname>+</varname> and a file - already exists where the symlink is to be created, it will - be removed and be replaced by the symlink. If the argument - is omitted, symlinks to files with the same name residing in - the directory <filename>/usr/share/factory/</filename> are - created. Note that permissions and ownership on symlinks - are ignored.</para></listitem> + yet. If suffixed with <varname>+</varname> and a file or + directory already exists where the symlink is to be created, + it will be removed and be replaced by the symlink. If the + argument is omitted, symlinks to files with the same name + residing in the directory + <filename>/usr/share/factory/</filename> are created. Note + that permissions and ownership on symlinks are ignored. + </para></listitem> </varlistentry> <varlistentry> |