Subject: Re: bug#39284: 27.0.60; wdired: change file permissions fails on tramp buffers

From: Lars Ingebrigtsen <[email-masked]>
Date: Thu, 01 Oct 2020 23:35:51 +0200

Michael Albinus <[email-masked]> writes:

>> 1) Assuming Bug#39280 is fixed, we just need to change 1 line ...:
>>
>> 2) ... Or replace the call to the external chmod with built-in
>> `set-file-modes'
>> (this is what `dired-do-chmod' does):
>
> I recommend alternative 2. Tramp has different implementations of
> `set-file-modes', and not all of them are based on the "chmod" command.

This wasn't applied at the time, so I did that now.  This was a bit odd,
though:

+                    (string-to-number (int-to-string (wdired-perms-to-number perms-new)) 8))

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no