mirror of
https://github.com/flatpak/flatpak.git
synced 2026-10-03 02:46:43 -04:00
We regressed on supporting --filesystem=xdg-config/kdeglobals:ro which would create a "kdeglobals" in the apps own XDG_CONFIG_DIR which has content from the host one. This broke in https://github.com/flatpak/flatpak/commit/f1df5cb1d927a4fbdfed7c81fd26d62c70037cda where we added a symlink resolve, but that breaks when the target file doesn't exist. It seems like all callers rely on just the final element of the destination path being created, so lets just resolve symlinks on the dir part. Closes: #1229 Approved by: alexlarsson