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

[Bug]: Error: Permission denied (os error 13) #2438

Open
1 task done
HwapX opened this issue Nov 3, 2024 · 11 comments
Open
1 task done

[Bug]: Error: Permission denied (os error 13) #2438

HwapX opened this issue Nov 3, 2024 · 11 comments
Labels
bug Something isn't working

Comments

@HwapX
Copy link

HwapX commented Nov 3, 2024

What did you expect to happen?

The search panel open.

What happened?

Recently i started getting this error when running on zsh.

The following error happens when i try run it.

Error: Permission denied (os error 13)

Location:
    crates/atuin/src/command/client/search/interactive.rs:990:18

Atuin doctor output

{
  "atuin": {
    "version": "18.3.0",
    "sync": null,
    "sqlite_version": "3.44.0"
  },
  "shell": {
    "name": "zsh",
    "default": "zsh",
    "plugins": [
      "atuin"
    ],
    "preexec": "built-in"
  },
  "system": {
    "os": "Ubuntu",
    "arch": "x86_64",
    "version": "24.04",
    "disks": [
      {
        "name": "/dev/sdc2",
        "filesystem": "btrfs"
      },
      {
        "name": "/dev/sdc2",
        "filesystem": "btrfs"
      },
      {
        "name": "/dev/sdc2",
        "filesystem": "btrfs"
      },
      {
        "name": "/dev/sdc1",
        "filesystem": "vfat"
      },
      {
        "name": "/dev/sda1",
        "filesystem": "ext4"
      },
      {
        "name": "/dev/sda1",
        "filesystem": "ext4"
      },
      {
        "name": "/dev/sdb1",
        "filesystem": "ext4"
      },
      {
        "name": "/dev/sdb2",
        "filesystem": "ext4"
      },
      {
        "name": "/dev/sdb1",
        "filesystem": "ext4"
      },
      {
        "name": "/dev/sdb3",
        "filesystem": "ext4"
      }
    ]
  }
}

Code of Conduct

  • I agree to follow this project's Code of Conduct
@HwapX HwapX added the bug Something isn't working label Nov 3, 2024
@renatogalera
Copy link

Same here

Atuin Doctor
Checking for diagnostics
Please include the output below with any bug reports or issues

{
  "atuin": {
    "version": "18.3.0",
    "sync": {
      "cloud": true,
      "records": true,
      "auto_sync": true,
      "last_sync": "2024-11-05 19:37:37.40501821 +00:00:00"
    },
    "sqlite_version": "3.44.0"
  },
  "shell": {
    "name": "zsh",
    "default": "zsh",
    "plugins": [
      "atuin"
    ],
    "preexec": "built-in"
  },
  "system": {
    "os": "Ubuntu",
    "arch": "x86_64",
    "version": "24.04",
    "disks": [
      {
        "name": "/dev/nvme1n1p2",
        "filesystem": "btrfs"
      },
      {
        "name": "/dev/nvme1n1p2",
        "filesystem": "btrfs"
      },
      {
        "name": "/dev/nvme1n1p1",
        "filesystem": "vfat"
      }
    ]
  }
}

@lukemv
Copy link

lukemv commented Nov 5, 2024

Same here

This is the output from atuin doctor

{
  "atuin": {
    "version": "18.3.0",
    "sync": null,
    "sqlite_version": "3.44.0"
  },
  "shell": {
    "name": "zsh",
    "default": "zsh",
    "plugins": [
      "atuin"
    ],
    "preexec": "built-in"
  },
  "system": {
    "os": "Ubuntu",
    "arch": "x86_64",
    "version": "24.04",
    "disks": [
      {
        "name": "/dev/mapper/ubuntu--vg-ubuntu--lv",
        "filesystem": "ext4"
      },
      {
        "name": "/dev/sda2",
        "filesystem": "ext4"
      }
    ]
  }
}

This is the output of ctrl+r

➜  Error: Permission denied (os error 13)

Location:
    crates/atuin/src/command/client/search/interactive.rs:990:18a

@ellie
Copy link
Member

ellie commented Nov 5, 2024

What terminals are you using?

execute!(
stdout,
event::EnableMouseCapture,
event::EnableBracketedPaste,
)?;

is where the error is coming from

@lukemv
Copy link

lukemv commented Nov 5, 2024

I'm SSH'ing into a virtual machine

@ellie
Copy link
Member

ellie commented Nov 5, 2024

but with what terminal emulator?

@lukemv
Copy link

lukemv commented Nov 5, 2024

Is xterm-256color a terminal emulator? That's the output of echo $TERM

The same behaviour happens outside, and within tmux.

@ellie
Copy link
Member

ellie commented Nov 5, 2024

Just to rephrase - what application are you opening on your computer in order to run the ssh command?

Such as iterm2, alacritty, gnome terminal, etc

@renatogalera
Copy link

What terminals are you using?

execute!(
stdout,
event::EnableMouseCapture,
event::EnableBracketedPaste,
)?;

is where the error is coming from

Alacritty

alacritty --version                                                                                                                                                                           │
lacritty 0.13.2

@lukemv
Copy link

lukemv commented Nov 5, 2024

iterm2 on MacOS.

@lukemv
Copy link

lukemv commented Nov 5, 2024

I just tested and noted the same behaviour if I SSH to the VM using Windows Terminal

@HwapX
Copy link
Author

HwapX commented Nov 9, 2024

Is xterm-256color a terminal emulator? That's the output of echo $TERM

The same behaviour happens outside, and within tmux.

I don't know why, but just as the error came, it disappeared...

The only thing I can say is that while this was happening in zsh, on the same system with bash it worked fine.

echo $TERM
xterm-256color

This was on both zsh(broken) and bash(fine) using gnome terminal

For me its solved, for now....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants