GNU bug report logs -
#44343
28.0.50; wdired: spurious error message when changing permissions
Previous Next
Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>
Date: Sat, 31 Oct 2020 14:39:02 UTC
Severity: normal
Tags: fixed
Found in version 28.0.50
Fixed in version 28.1
Done: Andreas Schwab <schwab <at> linux-m68k.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 44343 in the body.
You can then email your comments to 44343 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44343
; Package
emacs
.
(Sat, 31 Oct 2020 14:39:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Michael Heerdegen <michael_heerdegen <at> web.de>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sat, 31 Oct 2020 14:39:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello,
here is the recipe:
#+begin_src emacs-lisp
(require 'wdired)
(setq wdired-allow-to-change-permissions 'advanced)
#+end_src
Then visit some (writable) directory with dired, M-x
wdired-change-to-wdired-mode, and then change a permission bit of some
file. Then C-c C-c. I get this error message:
1 rename actions failed--type ? for details
*Dired log* contains:
| chmod 416 ‘/home/micha/arena.result’ failed
|
| 1 rename actions failed
Actually there is no need for the error message; changing permission
bits works fine, it succeeds without problems.
But when I read the implementation of `wdired-do-perm-changes'
correctly, it uses the return value of `set-file-modes' to decide
whether setting modes succeeded. This function always returns nil,
however.
The second, minor issue is that a problem with changing permission bits
is reported as a failed "rename action".
TIA,
Michael.
In GNU Emacs 28.0.50 (build 85, x86_64-pc-linux-gnu, GTK+ Version 3.24.23, cairo version 1.16.0)
of 2020-10-31 built on drachen
Repository revision: f9304de9e09ae621e8790b4f45ab716c43485ce9
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12008000
System Description: Debian GNU/Linux bullseye/sid
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44343
; Package
emacs
.
(Sat, 31 Oct 2020 15:46:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 44343 <at> debbugs.gnu.org (full text, mbox):
On Okt 31 2020, Michael Heerdegen wrote:
> But when I read the implementation of `wdired-do-perm-changes'
> correctly, it uses the return value of `set-file-modes' to decide
> whether setting modes succeeded. This function always returns nil,
> however.
Right, it reports failures via error.
> The second, minor issue is that a problem with changing permission bits
> is reported as a failed "rename action".
I have removed "rename" from the message, since wdired can already
perform three different types of actions.
Andreas.
--
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
Added tag(s) fixed.
Request was from
Andreas Schwab <schwab <at> linux-m68k.org>
to
control <at> debbugs.gnu.org
.
(Sat, 31 Oct 2020 15:46:02 GMT)
Full text and
rfc822 format available.
bug marked as fixed in version 28.1, send any further explanations to
44343 <at> debbugs.gnu.org and Michael Heerdegen <michael_heerdegen <at> web.de>
Request was from
Andreas Schwab <schwab <at> linux-m68k.org>
to
control <at> debbugs.gnu.org
.
(Sat, 31 Oct 2020 15:46:03 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 29 Nov 2020 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 197 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.