GNU bug report logs - #50189
wdired chmod should not follow symlinks (Bug#11912 followup)

Previous Next

Package: emacs;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Tue, 24 Aug 2021 18:06:01 UTC

Severity: normal

Tags: patch

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 50189 <at> debbugs.gnu.org
Subject: bug#50189: wdired chmod should not follow symlinks (Bug#11912 followup)
Date: Sat, 10 Sep 2022 08:28:02 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Yeah, editing the permissions doesn't seem to work for me in dired.  If
> I start with
>
>   -rw-r--r--  1 larsi      larsi       329K Aug 21 18:22 IMG_4478.JPG
>
> and press DEL after the final dash, it'll delete the dash and then say
> "Text is read only", leaving me with:
>
>   -rw-r--r-  1 larsi      larsi       329K Aug 21 18:22 IMG_4478.JPG
>
> And then I can't insert anything there, because it's now read-only.  So
> something is wonky in the way wdired tries to make certain bits of the
> line read-only.

Setting wdired-allow-to-change-permissions to t or `advanced' made this
work -- you can't really edit the permissions without that.

So I guess there's nothing more to be done here...




This bug report was last modified 2 years and 309 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.