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

what(): filesystem error: status: Permission denied [/usr/bin/howdy] #227

Open
I-Want-ToBelieve opened this issue Oct 25, 2022 · 1 comment

Comments

@I-Want-ToBelieve
Copy link

I-Want-ToBelieve commented Oct 25, 2022

If the howdy software is installed, it will report an error
When I uninstall howdy the appimage can be generated correctly

Environment
› OS: Arch Linux Rolling Release X64
› Node.js: 16.17.1
› npm: 8.15.0
› pnpm: 7.13.4
› yarn: 3.2.4
› rustup: 1.25.1
› rustc: 1.64.0
› cargo: 1.64.0
› Rust toolchain: stable-x86_64-unknown-linux-gnu

Packages
› @tauri-apps/cli [NPM]: 1.1.1
› @tauri-apps/api [NPM]: 1.1.0
› tauri [RUST]: 1.1.1,
› tauri-build [RUST]: 1.1.1,
› tao [RUST]: 0.14.0,
› wry [RUST]: 0.21.1,

App
› build-type: bundle
› CSP: unset
› distDir: ../dist
› devPath: http://localhost:1420/
› framework: React

App directory structure
├─ public
├─ dist
├─ src-tauri
├─ .vscode
├─ src
└─ node_modules

+ export ARCH=x86_64
+ ARCH=x86_64
+ APPIMAGE_BUNDLE_XDG_OPEN=0
+ APPIMAGE_BUNDLE_GSTREAMER=0
+ TRAY_LIBRARY_PATH=0
+ '[' x86_64 == i686 ']'
+ linuxdeploy_arch=x86_64
+ mkdir -p tauri-app.AppDir
+ cp -r ../appimage_deb/data/usr tauri-app.AppDir
+ cd tauri-app.AppDir
+ mkdir -p usr/bin
+ mkdir -p usr/lib
+ [[ 0 != \0 ]]
+ [[ 0 != \0 ]]
++ dirname '{}'
+ find /usr/lib /usr/lib32 /usr/lib64 -name WebKitNetworkProcess -exec mkdir -p . ';' -exec cp --parents '{}' . ';'
find: ‘/usr/lib/security/howdy’: Permission denied
+ true
++ dirname '{}'
+ find /usr/lib /usr/lib32 /usr/lib64 -name WebKitWebProcess -exec mkdir -p . ';' -exec cp --parents '{}' . ';'
find: ‘/usr/lib/security/howdy’: Permission denied
+ true
++ dirname '{}'
+ find /usr/lib /usr/lib32 /usr/lib64 -name libwebkit2gtkinjectedbundle.so -exec mkdir -p . ';' -exec cp --parents '{}' . ';'
find: ‘/usr/lib/security/howdy’: Permission denied
+ true
+ cd /home/backtolife/.cache/tauri
+ wget -q -4 -N https://github.com/AppImage/AppImageKit/releases/download/continuous/AppRun-x86_64
+ chmod +x /home/backtolife/.cache/tauri/AppRun-x86_64
+ cp /home/backtolife/.cache/tauri/AppRun-x86_64 AppRun
+ cp usr/share/icons/hicolor/256x256@2/apps/tauri-app.png .DirIcon
+ ln -s usr/share/icons/hicolor/256x256@2/apps/tauri-app.png tauri-app.png
+ ln -s usr/share/applications/tauri-app.desktop tauri-app.desktop
+ cd ..
+ [[ 0 != \0 ]]
+ gst_plugin=
+ cd /home/backtolife/.cache/tauri
+ wget -q -4 -N https://raw.githubusercontent.com/tauri-apps/linuxdeploy-plugin-gtk/master/linuxdeploy-plugin-gtk.sh
+ cd /home/backtolife/.cache/tauri
+ wget -q -4 -N https://github.com/tauri-apps/binary-releases/releases/download/linuxdeploy/linuxdeploy-x86_64.AppImage
+ chmod +x /home/backtolife/.cache/tauri/linuxdeploy-plugin-gtk.sh
+ chmod +x /home/backtolife/.cache/tauri/linuxdeploy-x86_64.AppImage
+ dd if=/dev/zero bs=1 count=3 seek=8 conv=notrunc of=/home/backtolife/.cache/tauri/linuxdeploy-x86_64.AppImage
3+0 records in
3+0 records out
3 bytes copied, 3.0047e-05 s, 99.8 kB/s
+ OUTPUT=tauri-app_0.0.0_amd64.AppImage
+ /home/backtolife/.cache/tauri/linuxdeploy-x86_64.AppImage --appimage-extract-and-run --appdir tauri-app.AppDir --plugin gtk --output appimage
linuxdeploy version 1-alpha (git commit ID f8d8f49), GitHub actions build 132 built on 2022-10-21 14:31:39 UTC
terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
  what():  filesystem error: status: Permission denied [/usr/bin/howdy]
       Error [tauri_cli_node] failed to bundle project: error running appimage.sh: error running appimage.sh: `failed to run /home/backtolife/git.workspace/any.workspace/tauri-app/src-tauri/target/release/bundle/appimage/build_appimage.sh`
 ELIFECYCLE  Command failed with exit code 1.
@I-Want-ToBelieve I-Want-ToBelieve changed the title find: ‘/usr/lib/security/howdy’: Permission denied what(): filesystem error: status: Permission denied [/usr/bin/howdy] Oct 25, 2022
@olivierlemasle
Copy link

Probably the same issue as #241, should be fixed by #242.

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

No branches or pull requests

2 participants