I recently did a long-procrastinated zypper dist-upgradeof Slowroll and now have a bug in the less utility that wasn’t there before. See below for version information.
The bug:
$ less some_file
Failed to execute target.: Permission denied
The file “lesses” correctly but gives the minor yet annoying error message on exit. Either of the following two workarounds eliminates the error message:
$ less --no-lessopen some_file
or
$ unset LESSOPEN
$ less some_file
Neither of these solutions are optimal because the purpose of /usr/bin/lessopen.sh is to preprocess various non-ascii files and extract their text data for viewing. For example:
$ less some_file.pdf
Without either of the above workarounds this “lesses” any text in the PDF, but gives the error on exit. With either workaround enabled, less gives a warning and exits immediately if answered “n”, or displays the raw PDF bytes if “y”. For example:
$ less --no-lessopen some_file.pdf
“some_file.pdf” may be a binary file. See it anyway?
I believe the problem is in the /usr/bin/less binary itself, not the /usr/bin/lessopen.sh helper script because if the latter is copied, unchanged, into any directory earlier in $PATH than /usr/bin and /bin, thenless works perfectly on all file types, without the annoying error.
Can anyone reproduce this problem? Should I try to report it in bugzilla? My system is:
$ cat /etc/os-release
NAME=“openSUSE Tumbleweed-Slowroll”
# VERSION=“20260707”
ID=“opensuse-slowroll”
ID_LIKE=“opensuse-tumbleweed opensuse suse”
VERSION_ID=“20260707”
PRETTY_NAME=“openSUSE Tumbleweed-Slowroll”
ANSI_COLOR=“0;32”
# CPE 2.3 format, boo#1217921
CPE_NAME=“cpe:2.3:o:opensuse:slowroll:20260707:::::::*”
#CPE 2.2 format
#CPE_NAME=“cpe:/o:opensuse:slowroll:20260707”
BUG_REPORT_URL=“https://bugzilla.opensuse.org”
SUPPORT_URL=“https://bugs.opensuse.org”
HOME_URL=“https://www.opensuse.org”
DOCUMENTATION_URL=“https://en.opensuse.org/openSUSE:Slowroll”
LOGO=“distributor-logo-Slowroll”$ uname -a
Linux redacted-host-name 7.1.5-1.0.10.sr20260707-default #1 SMP PREEMPT_DYNAMIC Tue Jul 28 09:31:57 UTC 2026 (862e13e) x86_64 x86_64 x86_64 GNU/Linux$ less --version
less 704 (POSIX regular expressions)
Copyright (C) 1984-2026 Mark Nudelmanless comes with NO WARRANTY, to the extent permitted by law.
For information about the terms of redistribution,
see the file named README in the less distribution.
Home page: https://greenwoodsoftware.com/less$ zypper search --provides --installed-only --verbose =less
Loading repository data…
Reading installed packages…S | Name | Type | Version | Arch | Repository
—±-----±--------±-----------±-------±----------
i+ | dssi | package | 1.1.1-14.5 | x86_64 | repo-oss
filelist: /usr/bin/less_trivial_synth
i | less | package | 704-1.2 | x86_64 | repo-oss
filelist: /usr/bin/less
filelist: /usr/bin/lessclose.sh
filelist: /usr/bin/lesskey
filelist: /usr/bin/lessopen.sh
provides: /usr/bin/less$ zypper repos --uri | grep -E ‘repo-oss.*Yes’
5 | openSUSE:repo-oss | repo-oss | Yes | (r ) Yes | Yes | http://download.opensuse.org/slowroll/repo/oss