Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Bushido1 opened this issue Mar 27, 2024 · 4 comments

Comments

@Bushido1
Copy link

Bushido1 commented Mar 27, 2024

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.

@mirkobrombin
Copy link
Member

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.

@Bushido1
Copy link
Author

@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?

@mirkobrombin
Copy link
Member

mirkobrombin commented Apr 26, 2024

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

@Bushido1
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants