Bottles icon indicating copy to clipboard operation
Bottles copied to clipboard

[Bug]: Permission denied error when trying to save a file in Translation Workspace XLIFF Editor

Open Bushido1 opened this issue 3 months ago • 5 comments

Describe the bug

When I try to save or overwrite a file to the Downloads or Desktop folder of Ubuntu, I get the error "[13] Permission denied".

To Reproduce

  1. Go to https://translate.translationworkspace.com/sid/6ca103006c129b36/TranslationWorkspaceXliffEditor.exe
  2. Download the executable
  3. Install and open the Xliff Editor
  4. Open .xlz file with it
  5. Edit the file
  6. Try to save the file to the Desktop or Downloads folder of Ubuntu

Package

Flatpak from Flathub

Distribution

Ubuntu 22.04 LTS

Debugging Information

Official Package: true
Version: '51.11'
DE/WM: ubuntu
Display:
    X.org: true
    X.org (port): :99.0
    Wayland: true
Graphics:
    vendors:
        amd:
            vendor: amd
            envs:
                DRI_PRIME: '1'
            icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/radeon_icd.x86_64.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/radeon_icd.i686.json
    prime:
        integrated: null
        discrete: null
Kernel:
    Type: Linux
    Version: 6.5.0-26-generic
Disk:
    Total: 8092987392
    Free: 8092823552
RAM:
    MemTotal: 15.1GiB
    MemAvailable: 11.7GiB
Bottles_envs: null

Troubleshooting Logs

002c:err:wineboot:process_run_key Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -r" (126).

Additional context

I have been saving without any error for many years but now I suddenly cannot. I can save the file to the Desktop folder of Windows environment created by Bottles i.e. the folder under .var directory of Ubuntu where the Bottles files and software is installed/unpacked.

Bushido1 avatar Mar 27 '24 11:03 Bushido1

Flatpak does not have write permissions there. Give flatpak the permissions to reach your home or store your changes in the bottle itself. This is the behavior since years now.

mirkobrombin avatar Apr 25 '24 16:04 mirkobrombin

@mirkobrombin , do you mean by "Give flatpak the permissions to reach your home" that I must use the --persist=path option via XDG directory access only?

Bushido1 avatar Apr 25 '24 21:04 Bushido1

I don't remember how the Flatpak cli works but yes, you have to give it permanent access to the directory and restart bottles

mirkobrombin avatar Apr 26 '24 05:04 mirkobrombin

@mirkobrombin Are you hinting that Translation Workspace XLIFF Editor is a cli application?

Bushido1 avatar Apr 26 '24 07:04 Bushido1