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

ERROR opentty: open /dev/pts/0: permission denied #7

Open
jdx opened this issue May 11, 2024 · 1 comment
Open

ERROR opentty: open /dev/pts/0: permission denied #7

jdx opened this issue May 11, 2024 · 1 comment

Comments

@jdx
Copy link

jdx commented May 11, 2024

not sure what this error means, I am probably doing something wrong. System is Ubuntu 24.04.

jdx in 🌐 bamboo in ~ ❯ osc copy
2024-05-11T14:55:40Z ERROR opentty: open /dev/pts/0: permission denied
Error: open /dev/pts/0: permission denied
Usage:
  osc copy [flags]

Flags:
  -h, --help   help for copy

Global Flags:
  -d, --device string   select device (default "/dev/pts/0")
  -l, --log string      write logs to file
  -t, --timeout float   tty read timeout in seconds (default 5)
  -v, --verbose         verbose logging
@theimpostor
Copy link
Owner

Can you try with unsetting SSH_TTY SSH_TTY= osc copy, or use the --device arg: osc copy --device /dev/tty

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