flathub / flathub/com.github.Matoking.protontricks

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

Đang mở
#27 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
55
Fork
7
Merge trung bình
48 phút
Pull request đã merge (30 ngày)
1

Mô tả

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 ?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện lệnh flatpak override được ghi chép trên Steam Deck và so sánh với một đường dẫn không chứa dấu hai chấm. Kiểm tra cách các quyền của hệ thống tệp được xử lý đối với sandbox của protontricks; hoàn thành khi đường dẫn được yêu cầu có thể truy cập và cabextract có thể ghi dmband.dll vào đó mà không gặp lỗi quyền.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
linux
Lĩnh vực
desktop, operating-systems
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.