[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#39284: 27.0.60; wdired: change file permissions fails on tramp buffe
From: |
Lars Ingebrigtsen |
Subject: |
bug#39284: 27.0.60; wdired: change file permissions fails on tramp buffers |
Date: |
Thu, 01 Oct 2020 23:35:51 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Michael Albinus <michael.albinus@gmx.de> 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#39284: 27.0.60; wdired: change file permissions fails on tramp buffers,
Lars Ingebrigtsen <=