]> BookStack Code Mirror - system-cli/commit
Addressed further symlink issues
authorDan Brown <redacted>
Mon, 22 May 2023 09:20:38 +0000 (10:20 +0100)
committerDan Brown <redacted>
Mon, 22 May 2023 09:20:38 +0000 (10:20 +0100)
commitfa20d77ffdea20efb6571762c15aa611f012f626
tree3076f34db45d59eb3aaf3cd5feb54f220fd1772f
parent0562ac3c51328d777778bdd1adc46027813844e7
Addressed further symlink issues

Specifically updating recursive deletion/copy handling to ignore symlink
directories. This is so symlinks remain so that content is stored in the
actual desired symlinked locations upon restore, rather than new
non-sym-link equivilents (Which could loose data in scenarios like
within docker containers where data is symlinked to volume locations).

Tested on a dev linuxserver docker environment, which specific checking
of file handling before/after restore of backup.
src/Services/Directories.php