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

Permission denied (os error 13) on aarch64. #1726

Closed
voronind-com opened this issue Oct 4, 2024 · 5 comments
Closed

Permission denied (os error 13) on aarch64. #1726

voronind-com opened this issue Oct 4, 2024 · 5 comments
Labels
invalid This doesn't seem right upstream

Comments

@voronind-com
Copy link

What system are you running Yazi on?

Linux Wayland

What terminal are you running Yazi in?

Termux

yazi --debug output

$ yazi --debug

Yazi
    Version: 0.3.3 (Nixpkgs 2024-09-04)
    Debug  : false
    OS     : linux-aarch64 (unix)

Ya
    Version: 0.3.3 (Nixpkgs 2024-09-04)

Emulator
    Emulator.via_env: ("xterm-256color", "")
    Emulator.via_csi: Err(Permission denied (os error 13))
    Emulator.detect : Unknown([])

Adapter
    Adapter.matches: Chafa

Desktop
    XDG_SESSION_TYPE           : None
    WAYLAND_DISPLAY            : None
    DISPLAY                    : None
    SWAYSOCK                   : None
    HYPRLAND_INSTANCE_SIGNATURE: None
    WAYFIRE_SOCKET             : None

SSH
    shared.in_ssh_connection: false

WSL
    WSL: false

Variables
    SHELL              : None
    EDITOR             : Some("nvim")
    VISUAL             : None
    YAZI_FILE_ONE      : None
    YAZI_CONFIG_HOME   : None

Text Opener
    default: Some(Opener { run: "nvim \"$@\"", block: true, orphan: false, desc: "Text", for_: None, spread: true })
    block  : Some(Opener { run: "nvim \"$@\"", block: true, orphan: false, desc: "Text", for_: None, spread: true })

Multiplexers
    TMUX               : false
    tmux version       : 3.5
    ZELLIJ_SESSION_NAME: None
    Zellij version     : No such file or directory (os error 2)

Dependencies
    file             : 5.45
    ueberzugpp       : No such file or directory (os error 2)
    ffmpegthumbnailer: 2.2.2
    magick           : 7.1.1-38
    fzf              : 0.55.0
    fd               : 10.2.0
    rg               : 14.1.1
    chafa            : 1.14.4
    zoxide           : 0.9.6
    7z               : No such file or directory (os error 2)
    7zz              : 24.08
    jq               : 1.7.1


--------------------------------------------------
When reporting a bug, please also upload the `yazi.log` log file - only upload the most recent content by time.
You can find it in the "/data/data/com.termux.nix/files/home/.local/state/yazi" directory.

Did you try the latest nightly build to see if the problem got fixed?

No, and I'll explain why below

Describe the bug

When I try to run yazi, I get this error: Error: Permission denied (os error 13). It used to work in the past on the same device/environment, but stopped working a couple months ago or so. I couldn't find any issues related to this.

Minimal reproducer

yazi

Anything else?

No response

@voronind-com voronind-com added the bug Something isn't working label Oct 4, 2024
@voronind-com voronind-com changed the title Crashes on arm (aarch64). Permission denied (os error) on aarch64. Oct 4, 2024
@voronind-com voronind-com changed the title Permission denied (os error) on aarch64. Permission denied (os error 13) on aarch64. Oct 4, 2024
@sxyazi
Copy link
Owner

sxyazi commented Oct 4, 2024

This is a bug in the crossterm crate used by Yazi, crossterm-rs/crossterm#912

You can either use the nightly version or the Termux official Yazi package, both of which have been fixed it.

Closing as already been fixed in the latest main branch, nothing can be done here.

@sxyazi sxyazi closed this as not planned Won't fix, can't repro, duplicate, stale Oct 4, 2024
@sxyazi sxyazi added invalid This doesn't seem right and removed bug Something isn't working labels Oct 4, 2024
@sxyazi
Copy link
Owner

sxyazi commented Oct 4, 2024

Also see termux/termux-packages#21364

@sxyazi sxyazi added the upstream label Oct 4, 2024
@voronind-com
Copy link
Author

I use nixpkgs version, not termux package. Still, thanks for the info!

@sxyazi
Copy link
Owner

sxyazi commented Oct 4, 2024

Yazi also provides Nix flakes and Cachix binary cache you can use

Copy link

github-actions bot commented Nov 4, 2024

I'm going to lock this issue because it has been closed for 30 days. ⏳
This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please file a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
invalid This doesn't seem right upstream
Projects
None yet
Development

No branches or pull requests

2 participants