Package: renameutils
Version: 0.12.0-11+b1
Severity: normal
Tags: upstream
X-Debbugs-Cc: mpar...@gmx.net

Because of readline, imv (or icp) happily will complete paths beginning with ~/
($HOME), but after confirmation, the invoked mv process will fail at syscall
renameat2() with ENOENT because of quoting.

execve("/usr/bin/mv", ["mv", "-vi", "/ztmp/FILE", "--", "~/FILE"],
0x55b49de21ad0 /* 89 vars */) = 0
renameat2(AT_FDCWD, "/ztmp/FILE", AT_FDCWD, "~/FILE", RENAME_NOREPLACE) = -1
ENOENT (No such file or directory)

mv: cannot move 'FILE' to '~/FILE': No such file or directory


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (510, 'unstable'), (509, 'experimental'), (500, 
'stable-updates'), (500, 'stable-security'), (500, 'oldstable-updates'), (500, 
'oldstable-security'), (500, 'testing'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.10.6-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_CPU_OUT_OF_SPEC, TAINT_WARN, 
TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages renameutils depends on:
ii  libc6            2.40-3
ii  libreadline8t64  8.2-3.1

renameutils recommends no packages.

renameutils suggests no packages.

-- no debconf information

Reply via email to