flathub / flathub/com.github.Matoking.protontricks

Flatpak override doesnt seem to work with colon in path (steam deck)

Ouverte
#27 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Aucune donnée de langage
Étoiles
55
Forks
7
Merge moyen
48 min
PR mergées (30 j)
1

Description

Not quite sure whether this is the correct place for this issue.

Running this on steam deck's konsole in order to be able to install directmusic and directplay into "Rise of Nation Extended Edition" (in order to attempt to fix ingame audio) ...

```
flatpak override --user --filesystem=/home/deck/.local/share/Steam/steamapps/compatdata/287450/pfx/dosdevices/c:/windows/syswow64 com.github.Matoking.protontricks
```
brings up following error basically:

```
F: Unexpected filesystem suffix /windows/syswow64, ignoring
```

and since this path is being ignored by flatpak override... protontricks / cabextract cannot access it

```
Executing cabextract -q -d /home/deck/.local/share/Steam/steamapps/compatdata/287450/pfx/dosdevices/c:/windows/syswow64 -L -F dmband.dll /home/deck/.local/share/Steam/steamapps/compatdata/287450/pfx/dosdevices/c:/windows/temp/dxnt.cab
/home/deck/.local/share/Steam/steamapps/compatdata/287450/pfx/dosdevices/c:/windows/temp/dxnt.cab: WARNING; possible 5960 extra bytes at end of file.
/home/deck/.local/share/Steam/steamapps/compatdata/287450/pfx/dosdevices/c:/windows/syswow64/dmband.dll: Permission denied
```

Full error log:
[log.txt](https://github.com/flathub/com.github.Matoking.protontricks/files/9411206/log.txt)

I also tried flatseal with the option of granting access to all user files, even host files, no avail.
Could it possibly be that flatpak needs to know the exact path protontricks / winetricks / cabextract will try to access later on ?

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Commencez par reproduire la commande flatpak override documentée sur un Steam Deck et comparez-la avec un chemin qui ne contient pas de deux-points. Examinez la manière dont les permissions du système de fichiers sont gérées pour le sandbox de protontricks ; c’est terminé lorsque le chemin demandé est accessible et que cabextract peut y écrire dmband.dll sans erreur de permission.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
linux
Domaine
desktop, operating-systems
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.