Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net>
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
Rachel Powers 2023-06-03 08:28:49 -07:00 committed by GitHub
parent 8eb10e991f
commit f613b03efd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -157,7 +157,7 @@ void InstanceCopyTask::copyFinished()
allowed_symlinks.append("\n"); allowed_symlinks.append("\n");
if (allowed_symlinks_file.isSymLink()) if (allowed_symlinks_file.isSymLink())
FS::deletePath(allowed_symlinks_file FS::deletePath(allowed_symlinks_file
.path()); // we dont want to modify the origonal. also make sure the resulting file is not itself a link. .path()); // we dont want to modify the original. also make sure the resulting file is not itself a link.
FS::write(allowed_symlinks_file.path(), allowed_symlinks); FS::write(allowed_symlinks_file.path(), allowed_symlinks);
} }