Citrix Workspace App for Linux 2601 - HDX File Access Prompt "Do Not Ask Me Again" Setting Fails to Persist on Fedora 42 and Firefox

book

Article ID: CTX696866

calendar_today

Updated On:

Description

  • Endpoint OS: Fedora 42 (GNOME Wayland default).

  • Browser: Mozilla Firefox (RPM or Flatpak).

  • Client Client Version: Citrix Workspace App for Linux 2601.

  • Backend: On-Premise Citrix Gateway with CVAD 2203 LTSR CU7.

  • Symptom: During session launch via Citrix Gateway, the HDX Client Drive Mapping prompt appears asking for file access permissions (Read/Write, Read Only, No Access). Checking "Do not ask me again for this virtual desktop" is ignored, and the pop-up recurs on every session launch.

 

  • Missing or Read-Only ~/.ICAClient/ Permissions (Fedora Security Context):

    Citrix Workspace App writes saved security responses and client drive access preferences to ~/.ICAClient/All_Regions.ini and ~/.ICAClient/filepermission.conf. In Fedora 42, tighter SELinux policies or default file permission masks (umask) prevent wfica from writing persistent preferences to the user's home directory.

  • Firefox Flatpak / Wayland Sandboxing Isolation:

    If Firefox is installed as a Flatpak (default in some Fedora workstation builds) or executed under Wayland native isolation, the browser passes .ica files through an isolated container path (/run/user/1000/doc/). The spawned wfica process inherits isolated portal permissions, blocking access to write persistent config files back to ~/.ICAClient/.

  • Multi-Region Security File Lock (All_Regions.ini Overrides):

    The ClientProps and FileAccess parameters inside /opt/Citrix/ICAClient/config/All_Regions.ini may be locked to [Read-Only] by the default 2601 Linux installer package, preventing user profile overrides.

Resolution

Step-by-Step Resolution Instructions

Step A: Fix Permissions on the Local .ICAClient Configuration Directory
Run the following commands in a terminal on the Fedora 42 endpoint to ensure the local user owns and can write to the configuration files:

 

Set ownership to current user

chown -R $USER:$USER ~/.ICAClient/

Grant full read/write permissions to the directory and contents

chmod -R 755 ~/.ICAClient/
chmod 644 ~/.ICAClient/.ini ~/.ICAClient/.conf 2>/dev/null

 

 

Step B: Pre-Configure HDX File Access Security Defaults Globally

To force Workspace App to grant full read/write access without requiring the UI prompt to write changes dynamically:

  1. Open a terminal on the Fedora 42 machine.

  2. Edit the local file permissions config:

    Bash
     
    nano ~/.ICAClient/filepermission.conf
    
  3. Add or update the following sections to set default file access to Read/Write (3):

    Ini, TOML
     
    [Global\FileAccess]
    GlobalDriveAccess=3
    
    [ClientDrive\ReadWrite]
    *=/
    

    (Note: Value 0 = No Access, 1 = Read Only, 3 = Full Read/Write).

Step C: Allow wfica to Override Client Security Preferences

Ensure the global ICA client configuration permits user-level security overrides:

  1. Edit the global configuration file:

    Bash
     
    sudo nano /opt/Citrix/ICAClient/config/All_Regions.ini
    
  2. Locate the [Security\ClientDrive] section.

  3. Change the AllowSecurityPrompt and DriveAccess keys to allow saving:

    Ini, TOML
     
    [Security\ClientDrive]
    EnableDriveAccess=true
    AllowSecurityPrompt=true
    UserOverride=true
    
Step D: Address Firefox Flatpak Portal Sandboxing (If Applicable)

If using Firefox installed via Flatpak on Fedora 42:

  1. Install Flatseal or use the CLI to grant Firefox permission to pass real filesystem paths to Workspace App:

    Bash
     
    flatpak override --user --filesystem=~/.ICAClient org.mozilla.firefox
    
  2. Alternatively, use the native Fedora RPM build of Firefox (sudo dnf install firefox) to avoid Flatpak container isolation issues with .ica file associations and wfica spawns.

Issue/Introduction

On Fedora 42 endpoints running Firefox and Citrix Workspace App for Linux 2601, selecting "Do not ask me again" on the HDX Client Drive Mapping (CDM) file access security prompt fails to save the preference across session launches. This issue is caused by strict Wayland display server sandboxing, Firefox profile file-access permission restrictions, or missing read/write permissions on the local Citrix configuration directory (~/.ICAClient/).