osc
osc copied to clipboard
ERROR opentty: open /dev/pts/0: permission denied
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
Can you try with unsetting SSH_TTY SSH_TTY= osc copy
, or use the --device
arg: osc copy --device /dev/tty