Open EvgeniyBlinov opened 5 months ago
When run in bwrap like in lf https://github.com/gokcehan/lf/wiki/Previews#sandboxing-preview-operations
#!/bin/bash set -euo pipefail ( exec bwrap \ --ro-bind /usr/bin /usr/bin \ --ro-bind /usr/share/ /usr/share/ \ --ro-bind /usr/lib /usr/lib \ --ro-bind /usr/lib64 /usr/lib64 \ --symlink /usr/bin /bin \ --symlink /usr/bin /sbin \ --symlink /usr/lib /lib \ --symlink /usr/lib64 /lib64 \ --proc /proc \ --dev /dev \ --ro-bind /etc /etc \ --ro-bind ~/.config ~/.config \ --ro-bind ~/.cache ~/.cache \ --ro-bind "$PWD" "$PWD" \ --ro-bind ~/ ~/ \ --unsetenv DBUS_SESSION_BUS_ADDRESS \ --unshare-all \ --new-session \ bash ~/.config/lf/scopelf.sh "$@" )
we got an error
environment: line 104: /dev/tty: No such device or address environment: line 106: /tmp/ctpvicat.0: No such file or directory
bwrap --dev-bind /dev/tty /dev/tty - this doesn't solve the problem.
bwrap --dev-bind /dev/tty /dev/tty
System: arch linux ctpv from AUR
local/ctpv-git r264.4efa0f9-1 Fast image previews for lf
Terminal emulator: kitty 0.31.0-1
When run in bwrap like in lf https://github.com/gokcehan/lf/wiki/Previews#sandboxing-preview-operations
we got an error
bwrap --dev-bind /dev/tty /dev/tty
- this doesn't solve the problem.System: arch linux ctpv from AUR
Terminal emulator: kitty 0.31.0-1