]> git.ipfire.org Git - thirdparty/systemd.git/commit - man/tmpfiles.d.xml
tmpfiles: Allow create symlink on directories (#6039)
authorWilliam Douglas <william.r.douglas@gmail.com>
Wed, 9 Aug 2017 15:53:03 +0000 (08:53 -0700)
committerLennart Poettering <lennart@poettering.net>
Wed, 9 Aug 2017 15:53:03 +0000 (17:53 +0200)
commitb3f5897f6e46f6dc54d9f46ea16258f558173500
treee8b97db3893aeaa4bd235e4d1364b320ac5a82af
parent4e7b57eb0eef102f717ba8ee7fdb6c89a0459554
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.
man/tmpfiles.d.xml
src/tmpfiles/tmpfiles.c