AppImage/AppImageKit

--appimage-extract-and-run: mkdir_p error: Permission denied on FreeBSD

開放

#1,073 建立於 2020年9月3日

 (1 則留言) (0 個反應) (0 位負責人)C (547 個分叉)batch import
buggood first issuehelp-wanted

倉庫指標

星標
 (8,239 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Trying to --appimage-extract-and-run a x86_64 Linux AppImage on FreeBSD 12.1-RELEASE-p8 with the Linux compatibility layer:

user@FreeBSD$  /home/user/Downloads/Akira-26-x86_64.AppImage --appimage-extract-and-run
mkdir_p error: Permission denied
Failed to extract AppImage

but

user@FreeBSD$  /home/user/Downloads/Akira-26-x86_64.AppImage --appimage-extract
user@FreeBSD$ truss /home/user/Downloads/Akira-26-x86_64.AppImage --appimage-extract-and-run 2>&1 | grep tmp
linux_access("/tmp/appimage_extracted_11b387e8ae9d3b2f6c030e4cfa7e8cc2/",F_OK) ERR#-2 'No such file or directory'
linux_mkdir("/tmp",493)                          ERR#-13 'Permission denied'

Doing manually:

user@FreeBSD$ mkdir -p /tmp/appimage_extracted_11b387e8ae9d3b2f6c030e4cfa7e8cc2/

works though, so why are we failing then?

貢獻者指南