mirror of
https://github.com/flatpak/flatpak.git
synced 2026-10-27 01:49:39 -04:00
run: Fix e.g. --filesystem=xdg-config/foo without :create
Fixes https://github.com/flatpak/flatpak/issues/463
This commit is contained in:
1 parent
7d4ca72cba
commit
84aed615da
1 file changed
+1
-1
@@ -2692,7 +2692,7 @@ flatpak_run_add_environment_args (GPtrArray *argv_array,
|
||||
xdg_path = get_xdg_dir_from_string (filesystem, &rest, &where);
|
||||
|
||||
if (xdg_path != NULL && *rest != 0 &&
|
||||
mode > FLATPAK_FILESYSTEM_MODE_READ_WRITE)
|
||||
mode >= FLATPAK_FILESYSTEM_MODE_READ_WRITE)
|
||||
{
|
||||
g_autoptr(GFile) app_version = g_file_get_child (app_id_dir, where);
|
||||
g_autoptr(GFile) app_version_subdir = g_file_resolve_relative_path (app_version, rest);
|
||||
|
||||
Reference in new issue
Block a user