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.
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:
chown -R $USER:$USER ~/.ICAClient/
chmod -R 755 ~/.ICAClient/
chmod 644 ~/.ICAClient/.ini ~/.ICAClient/.conf 2>/dev/null
To force Workspace App to grant full read/write access without requiring the UI prompt to write changes dynamically:
Open a terminal on the Fedora 42 machine.
Edit the local file permissions config:
nano ~/.ICAClient/filepermission.conf
Add or update the following sections to set default file access to Read/Write (3):
[Global\FileAccess]
GlobalDriveAccess=3
[ClientDrive\ReadWrite]
*=/
(Note: Value 0 = No Access, 1 = Read Only, 3 = Full Read/Write).
wfica to Override Client Security PreferencesEnsure the global ICA client configuration permits user-level security overrides:
Edit the global configuration file:
sudo nano /opt/Citrix/ICAClient/config/All_Regions.ini
Locate the [Security\ClientDrive] section.
Change the AllowSecurityPrompt and DriveAccess keys to allow saving:
[Security\ClientDrive]
EnableDriveAccess=true
AllowSecurityPrompt=true
UserOverride=true
If using Firefox installed via Flatpak on Fedora 42:
Install Flatseal or use the CLI to grant Firefox permission to pass real filesystem paths to Workspace App:
flatpak override --user --filesystem=~/.ICAClient org.mozilla.firefox
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.
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/).
Feedback submitted!