Your message dated Tue, 10 May 2022 22:24:36 +0300
with message-id <[email protected]>
and subject line Re: smbclient: first recurse command in a command string sets
recursion ON even if the command is recurse OFF
has caused the Debian Bug report #985718,
regarding smbclient: first recurse command in a command string sets recursion
ON even if the command is recurse OFF
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
985718: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985718
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: smbclient
Version: 2:4.9.5+dfsg-5+deb10u1
Severity: normal
Dear Maintainer,
I copied a script containing the recurse ON command. Instead of removing it I
changed it to
recurse OFF. To my surprise this didn't switch off the recursion. Only after
removing the
recurse OFF command did the recursion on the dir command stop. An explicit
recurse ON;recurse OFF
also worked. This behavior is unexpected and may confuse an unaware user who
copies a script
and modifies it.
I tested it on another system with smbclient version 4.11.6-Ubuntu and this bug
is still there.
-- System Information:
Debian Release: 10.8
APT prefers stable
APT policy: (990, 'stable'), (500, 'stable-updates')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-14-amd64 (SMP w/48 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages smbclient depends on:
ii dpkg 1.19.7
ii libarchive13 3.3.3-4+deb10u1
ii libbsd0 0.9.1-2
ii libc6 2.28-10
ii libpopt0 1.16-12
ii libreadline7 7.0-5
ii libsmbclient 2:4.9.5+dfsg-5+deb10u1
ii libtalloc2 2.1.14-2
ii libtevent0 0.9.37-1
ii samba-common 2:4.9.5+dfsg-5+deb10u1
ii samba-libs 2:4.9.5+dfsg-5+deb10u1
smbclient recommends no packages.
Versions of packages smbclient suggests:
ii cifs-utils 2:6.8-2
pn heimdal-clients <none>
-- no debconf information
--- End Message ---
--- Begin Message ---
On Mon, 22 Mar 2021 16:50:58 +0100 Wim Bakker <[email protected]> wrote:
Package: smbclient
Version: 2:4.9.5+dfsg-5+deb10u1
Severity: normal
Dear Maintainer,
I copied a script containing the recurse ON command. Instead of removing it I
changed it to
recurse OFF. To my surprise this didn't switch off the recursion. Only after
removing the
recurse OFF command did the recursion on the dir command stop. An explicit
recurse ON;recurse OFF
also worked. This behavior is unexpected and may confuse an unaware user who
copies a script
and modifies it.
I don't know where this script comes from and where did you found how to use the
"recurse"
command.
smbclient ...
smb: \> help recurse
HELP recurse:
toggle directory recursion for mget and mput
it does not care about the argument at all. It *toggles* recursion. It is off
by default,
first "recurse" makes it on, second "recurse" makes off again.
Yes it is probably sub-optimal user interface, but there's no "recurse OFF" or
"recurse ON".
There's just 'recurse'.
Closing this bugreport now.
Thanks,
/mjt
--- End Message ---